Skip to content
New issue

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

Details of Int.toFloatString are not documented #1958

Open
Gusarich opened this issue Feb 22, 2025 · 0 comments
Open

Details of Int.toFloatString are not documented #1958

Gusarich opened this issue Feb 22, 2025 · 0 comments
Assignees
Labels
docs: Reference /ref section of the docs: API reference, standard libraries, specification and evolution kind: docs Documentation for docs.tact-lang.org kept in docs folder
Milestone

Comments

@Gusarich
Copy link
Member

https://docs.tact-lang.org/ref/core-strings/#inttofloatstring

It includes basic info but misses the important detail about the function. It cuts trailing zeros and can even cut the separating . if the number is integer. For example , (100).toFloatString(2) becomes 1

@Gusarich Gusarich added the docs: Reference /ref section of the docs: API reference, standard libraries, specification and evolution label Feb 22, 2025
@novusnota novusnota added the kind: docs Documentation for docs.tact-lang.org kept in docs folder label Feb 22, 2025
@novusnota novusnota added this to the Doc: 2025-02 milestone Feb 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs: Reference /ref section of the docs: API reference, standard libraries, specification and evolution kind: docs Documentation for docs.tact-lang.org kept in docs folder
Projects
None yet
Development

No branches or pull requests

3 participants