Lets say I have shipping costs of 10.00 USD. If i pass this value to a float it will become 10. Not "10.00".
I tried:
float shippingRounded = float.Parse("10,00");
But this parses the string to a float and cuts the last two digits.
How can I use a float and still have it have two decimal places, irregardles of what they are?