rounding method and bug fix for prefix specification