This message was deleted.
# questions
s
This message was deleted.
a
Use BigDecimal instead Float data type
👍 1
o
i tried that, just 3 decimal values
k
I have a MapCoordinate class with BigDecimal latitude.
Copy code
static mapping = {
   latitude scale: 9
   longitude scale: 9
   cumulativeDistance scale: 9
}
in the migration it creates this column
Copy code
column(name: "latitude", type: "decimal(19, 9)") {
   constraints(nullable: "false")
}