[Solved] double value calculation [closed]
Ok, so you want to take 18.33 and just use the integer part of the number and multiply that by something else….like the number 5. Here’s 2 ways you can do it: var something = (int)result * 5; //equals 90 (int) var somethingElse = Math.Truncate(result) * 5; //equals 90.0 (double) 1 solved double value calculation … Read more