Adding API support for rounding functions at rate level