How about:
Math.Ceiling(myValue * 20) / 20
More Related Contents:
- C# custom add in a List
- Math.Round doesn’t behave like i want it to. (X.0xxxxx numbers) [closed]
- Best way to reverse a string
- How do I display a decimal value to 2 decimal places?
- Algorithm to detect overlapping periods [duplicate]
- Remove trailing zeros
- How do you round a number to two decimal places in C#?
- Decimal precision and scale in EF Code First
- Best way to randomize an array with .NET
- What guarantees are there on the run-time complexity (Big-O) of LINQ methods?
- C# Point in polygon
- Algorithm for simplifying decimal to fractions
- Remove text in-between delimiters in a string (using a regex?)
- Nice & universal way to convert List of items to Tree
- How Math.Pow (and so on) actually works
- Generating a Random Decimal in C#
- Split String into smaller Strings by length variable
- Compare string similarity
- Calculate median in c#
- Rounding down to 2 decimal places in c#
- C#: Seeking PNG Compression algorithm/library [closed]
- Why c# decimals can’t be initialized without the M suffix?
- Round a decimal to the nearest quarter in C#
- How can I tell if a point belongs to a certain line?
- Creating a power set of a Sequence
- All cases covered Bresenham’s line-algorithm [closed]
- Double vs Decimal Rounding in C#
- How do I convert a decimal to an int in C#?
- How to get IP of all hosts in LAN?
- char + char = int? Why?