projets
/
auf_rh_dae.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
split JS files
[auf_rh_dae.git]
/
project
/
media
/
js
/
dae.js
1
/* string to float */
2
function
clean_float
(
value
){
3
if
(
isNaN
(
value
)
|| value
==
undefined
)
4
output
=
0
;
5
else
6
output
=
parseFloat
(
value
);
7
output
=
Math
.
round
(
output
*
100
)/
100
;
8
return
output
;
9
}