NTrim Function | |
Convert a numeric expression to a left-trimmed string.
Namespace:
XSharp.RT
Assembly:
XSharp.RT (in XSharp.RT.dll) Version: 2.19
Syntax FUNCTION NTrim(
nNum AS USUAL
) AS STRING
public static string NTrim(
Usual nNum
)
Request Example
View SourceParameters
- nNum
- Type: Usual
The expression to convert to a string.
Return Value
Type:
StringRemarks
NTrim() returns the same value as LTrim(Str(nNum)). Thus, any conversion rules that apply to the Str() function also apply to the NTrim() function.
Examples
This example compares the output of NTrim() to that of Str():
1? NTrim(234)
2? LTrim(Str(234))
3? Str(234)
See Also