download
order  

Visual Basic 6 and VBA code fragments for Numeric

 

In the Visual Basic 6 code fragments below are included in the Code-VB fragments library.
Fragments are snippets of code you can insert in your procedures.
Each item between braces correspond to a variable of the given type.
They are replaced with the new or existing variables by Fragment Builder in Code-VB tools.

Absolute

If {LONG} < 0 Then
    {LONG} = -1 * {LONG}
End If

Decimal Separator

'return . or ,
{string:strInternationalDecimalSeparator} = Right(Left(1.1, 2), 1)

Numeric Decimal Separator