string
This function is used to convert an attribute value to a string.
Parameters: value, MinDecimals, MaxDecimals
MinDecimals - Minimum number of decimals (optional, effective only when converting double values)
MaxDecimals = Maximum number of decimals (optional, effective only when converting double values), default = same as MinDecimals
This formula multiplies the LENGTH attribute value by 16, divides that by 25.4 and converts the result to a string. The string contains a number with no decimals.
A simpler example would be:
string(3.14, 1) = "3.1".