We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request to add a parameter that can control the number of decimal places returned. For example:
doubleToString( -0.331678f, 2 )
"-0.33"
doubleToString( -0.331678f, 5 )
"-0.33167"
Perhaps something like:
index = min( index, abs( index - (olength - (vplength + e10)) + decimals ) ); return new String( result, 0, index );
Not sure about the feasibility of the next requests:
enum
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Feature request to add a parameter that can control the number of decimal places returned. For example:
doubleToString( -0.331678f, 2 )
returns"-0.33"
.doubleToString( -0.331678f, 5 )
returns"-0.33167"
.Perhaps something like:
Not sure about the feasibility of the next requests:
enum
and eliminate the extra parameter).The text was updated successfully, but these errors were encountered: