toEngr(a,numdig)

Formats a number in standard engineering format.


Syntax

o_toEngr(a,numdig)
a: scalar numeric - value to be formatted
numdig: scalar int - number of fractional digits to include
return: scalar text - formatted value

Usage

One of the few things that a To String cannot do is to write in Engineering standard format. This function adds that ability.

Location

menu: veeos ==> data ==> formatting ==> toEngr

library: dataLib

Example

o_toEngr(100*pi,3) returns 314.159
o_toEngr(1000*pi,3) returns 3.142 k

Notes

Reference

Dependencies

Supported On

VEE 7.0+, all platforms

See Also

toBinStr8, toBinStr16, toBinStr32, toBinStrNhexToInttoUInt8, toInt16, toInt32


© 2015-2025. All Rights Reserved. Stan Bischof (stan@worldbadminton.com). Last updated 13 February 2024 08:50.