I opened a Scala worksheet and put that in:
import play.api.libs.json
val v: Float = 12.345f
json.JsNumber(v)
The result is
v: Float = 12.345
res3: play.api.libs.json.JsNumber = 12.345000267028809
Where do the additional digits come from? They are very annoying and I would like to just see 12.345.
I am using Play 2.5.14, has it been fixed since maybe?