Howto improve arithmetic precision

Hello servoy experts out there,

In my application, i need the highest possible significance of decimal precision in my calculations.
so, my question is:

Can I (or -in fact- do i?) improve my arithmetic precision thru. the use of pure java in Servoy?
Need some help here.

Can i e.g. use: var myvar = new double ( can it be lost again because of weak typing … :cry: )
or is it better to approach J2SE package - and use defined vars from there?

Pls, let me know :)

in javascript the number variables you create are always all doubles so that is the highest precision primitive in java/javascript.
if you assign it to a db column you need to make sure that that is large enough to hold that precision also