Calculate prefix appropriate for specified value


Namespace: PalmSens.Units
Assembly: PalmSens (in PalmSens.dll)

Syntax

Visual Basic (Declaration)
Public Function GetPrefix( _ 
   ByVal f As Double _ 
) As Prefix
C#
public Prefix GetPrefix(
   double f
)
C++
public:
 Prefix GetPrefix(
   double f
) sealed 
J#
public Prefix GetPrefix(
   double f
)
JScript
public  function GetPrefix(
   f : double
) : Prefix

Parameters

f
value

Return Value

corresponding prefix (or default prefix if none could be found)

See Also