round

Round a float to an integer according to rounding mode

  1. long round(long x, int dec_place)
  2. real round(real x, roundingMode m)
    @trusted
    real
    round

Meta