Money type decimal places with variables

Hey
I was hoping someone could tell me a way that I can make a variables number have two decimal places (like money) even if they are zeros.
Like 2.00
I can use the
variable=variable*100;
variable=math.round(variable);
variable=variable/100;
way but that still takes away the decimals if they are zeros.
Any help would be greatly apreciated.