The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information.... |
Home MathPack Math1 Conversion EEngStr | ||||||||||||||||||||||||||||||||||||||||||
See also: SigDigStr | ||||||||||||||||||||||||||||||||||||||||||
EEngStr |
||||||||||||||||||||||||||||||||||||||||||
The function EEngStr converts the floating point value innum into a string using a unit prefix notation as it is commonly used in electrical engineering. The parameter precision determines the minimum number of significant digits (not decimal places!) used for formating the numeric string. It may be set to values between -9 and +9, zero values will be interpreted as +1. Negative values of the precision parameter force the unit prefix to be inserted instead of the decimal point, positive values will result in appending the prefix at the end of the string ('8k2' vs. '8.2k'). Following is the list of available prefixes.
|