Method

Single.FromText


Warning

This item was deprecated in version 2024r1. Please use Single.FromString as a replacement.

Description

Converts a Text value that containing a number that can be represented as a Single to a Single.

This method is shared.

If no locale is specified, then Locale.Raw is used.

Convert a Text value to a Single:

Var userValue As Text
userValue = "123.45"

Var d As Single
d = Single.FromText(userValue)

Compatibility

All project types on all supported operating systems.