This message was deleted.
# announcements
s
This message was deleted.
d
becase 31.2122222 is not a valid Long value.
u
what is valid long value
sorry I am stupied
d
"31.2122222".toDoubleOrNull()
will return you the
Double
floating point value.... Long does not have floating point, so
31.2122222
will return null.
"31123123".toLongOrNull()
should return you the
Long
value 🙂.
u
Ya thats my bad I was thinking of double as Long