You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 7, 2023. It is now read-only.
I am using the toString function to turn a Long type into a String. For example when I call toString(myDate.getYear()) it returns 2019.0 instead of just 2019. I have tried this on an Integer and get a decimal place tacked onto the end of it as well.
Would it be possible for toString to be type aware and format numerical types appropriately?
The text was updated successfully, but these errors were encountered:
I am using the
toString
function to turn aLong
type into aString
. For example when I calltoString(myDate.getYear())
it returns2019.0
instead of just2019
. I have tried this on anInteger
and get a decimal place tacked onto the end of it as well.Would it be possible for
toString
to be type aware and format numerical types appropriately?The text was updated successfully, but these errors were encountered: