Be sure to use .8m
instead of .8
.
More Related Contents:
- Allow only decimal numbers in textbox in C#
- How do I display a decimal value to 2 decimal places?
- How to convert numbers between hexadecimal and decimal
- Remove trailing zeros
- How do you round a number to two decimal places in C#?
- Decimal precision and scale in EF Code First
- How To Represent 0.1 In Floating Point Arithmetic And Decimal
- decimal vs double! – Which one should I use and when? [duplicate]
- Formatting a float to 2 decimal places
- Why can’t I unbox an int as a decimal?
- Find number of decimal places in decimal value regardless of culture
- Regular expression for decimal number
- Best way to display decimal without trailing zeroes
- Problem parsing currency text to decimal type
- Arbitrary-Precision Decimals in C# [duplicate]
- Generating a Random Decimal in C#
- Convert string to decimal, keeping fractions
- String to decimal conversion: dot separation instead of comma
- Conversion of a decimal to double number in C# results in a difference
- use decimal values as attribute params in c#?
- Rounding down to 2 decimal places in c#
- Performing Math operations on decimal datatype in C#?
- Why c# decimals can’t be initialized without the M suffix?
- Why does a C# System.Decimal remember trailing zeros?
- Round a decimal to the nearest quarter in C#
- How can I format decimal property to currency?
- C# Check if a decimal has more than 3 decimal places?
- How to round decimal value up to nearest 0.05 value?
- Double vs Decimal Rounding in C#
- Raising a decimal to a power of decimal?