MToN Function |
Namespace: XSharp.VFP
FUNCTION MToN( mExpression AS CURRENCY ) AS FLOAT
public static Float MToN( Currency mExpression )
1STORE $24.95 TO gyMoney // Creates a currency type memory variable 2CLEAR 3? "gyMoney is type: " 4?? Type('gyMoney') // Displays Y, currency type value 5gyMoney = MToN(gyMoney) // Converts gyMoney to a numeric value 6? "gyMoney is now type: " 7?? Type('gyMoney') // Displays N, numeric type value