public static class Roundings
{
public static decimal To2Dp(this decimal amount)
{
return Math.Round(amount, 2);
}
public static decimal To5Dp(this decimal amount)
{
return Math.Round(amount, 5);
}
public static decimal To6Dp(this decimal amount)
{
return Math.Round(amount, 6);
}
}