@HspNumToString

This function returns a string type value for the numeric value provided.

Syntax

@HspNumToString(NumericInput)
ParameterDescription
NumericInputA numeric value that has to be converted to a string

Note

The return value is of string type.

Example

This example converts 1000 to a string so that it can be printed in a log with an @return statement.

@return(@hspnumtostring(1000),error);

1000 will be printed in the log.