Description
Converts scientific notation into internal system format.
Syntax
internal = IConv (string, "MS [e mm ] [ , ]")
Parameters
IConv (MS) accepts arguments for the following parameters.
Parameter | Description |
---|---|
string | Must be either a number in valid scientific notation or a variable that contains a number in valid scientific notation. |
MS | Indicates a scientific notation conversion. |
e mm | These have no effect on the IConv function. These are OConv options that are allowed in the IConv function so you can use the same specifications for both input and output conversions. |
, (comma) | If you use the "," (comma) option, you can use a comma instead of a period in string to indicate a decimal number. If you use the "," option, and if the value of string is a literal value (rather than a variable name), you must enclose string in quotation marks. |
Example
The following table provides examples of the correct use of the IConv Masked Scientific function:
Example | Output |
---|---|
IConv(1.23, "MS") | 1.23 |
IConv(1.2345E+4, "MS") | 12345 |
IConv(1.23456789E+2, "MS") | 123.456789 |
IConv(1.234E+5, "MS") | 123400 |
IConv(1234.1234E-2, "MS") | 12.341234 |
IConv("1234,1234E-2", "MS,") | 12.341234 |