For the purposes of the PROMOTIC system, it is more usefull to use the method: Pm.ToNumber.
n = CSng(expression)
|expression||(Variant) Any valid expression.|
The conversion functions can be used e.g. if you want some operation result to be expressed as a particular data type (rather than the default data type). For example, use CDbl or CSng to force double-precision or single-precision arithmetic in cases where integer arithmetic normally would occur.
Use the CSng function to provide internationally aware conversions from any other data type to a value of the Single type. For example, different decimal separators and thousands separators are properly recognized depending on the locale setting of Windows system.
If expression lies outside the acceptable range of the Single type, then an error occurs.
n = CSng(75.3421115) 'Returns 75.34211
n = CSng(75.3421555) 'Returns 75.34216