I think this page needs updating as you now support BigDecimal and don’t think you use Double at all.
f = 1.2
i = 1234
l = 987654321987654321
b = 987654321987654321987654321
println( f & " " & f.getClass().getName() ) // java.math.BigDecimal
println( i & " " & i.getClass().getName() ) // java.lang.Integer
println( l & " " & l.getClass().getName() ) // java.lang.Long
println( b & " " & b.getClass().getName() ) // java.lang.BigDecimal