30-09-2009, 10:42 PM
Already have one 

Code:
Public Function ConvertCurrency(ByVal Amount As Long) As String
If Int(Amount) < 10000 Then
ConvertCurrency = Amount
ElseIf Int(Amount) < 999999 Then
ConvertCurrency = Int(Amount / 1000) & "k"
ElseIf Int(Amount) < 999999999 Then
ConvertCurrency = Int(Amount / 1000000) & "m"
Else
ConvertCurrency = Int(Amount / 1000000000) & "b"
End If
End Function
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?