Formatting Variables : FormatPercent « Data Type Functions « VBA / Excel / Access / Word






Formatting Variables

 
Sub doubleDemo()
    Dim dblNumber As Double
    
    dblNumber = 1234.567
    
    Debug.Print dblNumber
    Debug.Print FormatPercent(dblNumber)
End Sub

 








Related examples in the same category