git://source.jalview.org
/
jalviewjs.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
JAL-1807 Bob's JalviewJS prototype first commit
[jalviewjs.git]
/
site
/
j2s
/
java
/
math
/
BigDecimal.js
1
Clazz.declarePackage ("java.math");
\r
2
c$ = Clazz.declareType (java.math, "BigDecimal");
\r
3
Clazz.defineStatics (c$,
\r
4
"ROUND_UP", 0,
\r
5
"ROUND_DOWN", 1,
\r
6
"ROUND_CEILING", 2,
\r
7
"ROUND_FLOOR", 3,
\r
8
"ROUND_HALF_UP", 4,
\r
9
"ROUND_HALF_DOWN", 5,
\r
10
"ROUND_HALF_EVEN", 6,
\r
11
"ROUND_UNNECESSARY", 7);
\r