Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Close Submission failedFor some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
Close Your name Your email Suggestion*public string formatString;
DescriptionThe format string used to define how numeric values are displayed. The string follows standard .NET formatting conventions.
The supported numeric formats string (using 0
as an example) are:
- "0.#"
: Displays the numeric value with up to one decimal place, omitting trailing zeros. For example, 3.5
becomes 3.5
and 3.0
becomes 3
.
-"0.00"
: Ensures the numeric value is displayed with exactly two decimal places. For example, 3.5
is displayed as 3.50
and 3
as 3.00
.
-"0"
: Displays only the integer part of a numeric value, rounding if necessary. For example, 3.5
becomes 4
and 3.0
becomes 3
.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4