fork download
  1. using static System.Console;
  2. using static System.Math;
  3.  
  4. public class Program {
  5. public static void Main() {
  6. var contador = 63;
  7. decimal arrendondamento = contador / 50M;
  8. WriteLine(arrendondamento);
  9. WriteLine(Ceiling(arrendondamento));
  10. }
  11. }
  12.  
  13. //https://pt.stackoverflow.com/q/380046/101
Success #stdin #stdout 0s 131520KB
stdin
Standard input is empty
stdout
1.26
2