int newValue = (int)Number / 20
if(Number.StartsWith "-")
const double newValue = Number / 20.0; double outOfTwenty = 0.0; if (newValue >= 0.0) outOfTwenty = Math.Ceiling(NewValue); else outOfTwenty = Math.Floor(NewValue);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)