oracle value 0.1 become .1 cannot use in java playframework models -


i try save value 0.1 database, became .1. , when try use java double type became error. need use format method in java able use it?

sorry sounding nagging teacher need learn basics of computing: when stored number (either float or variable-length decimal) there no difference between 0.1 , .1 - it's matter of display format, not underlying value. e.g. go , read http://en.wikipedia.org/wiki/ieee_floating_point see how floats typically encoded as. also, see oracle floats vs number understand how oracle floats numeric, not ieee floats.

secondly, post source code possible - no information there's no way can make educated guess of problem.


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -