Single.ToText
From Xojo Documentation
![]() |
This item was deprecated in version 2020r2. Please use Single.ToString as a replacement. |
Method
Single.ToText(Optional locale As Xojo.Core.Locale) As Single
Supported for all project types and targets.
Supported for all project types and targets.
Converts a Single value to a Text value with an optional locale.
Method
Single.ToText(locale As Xojo.Core.Locale, format As Text) As Single
Supported for all project types and targets.
Supported for all project types and targets.
Converts a Single value to a Text value using the supplied locale and format.
Notes
If no locale is specified, then Locale.Raw is used.
Refer to Unicode Number Format Patterns for a list of formats.
Sample Code
Convert Single values to Text: