How Can Rounding Of Numbers Be Done so that quantity X.1 to X.5 gets rounded to X+1

(Doc ID 1279051.1)

Last updated on JUNE 23, 2017

Applies to:

Oracle Demantra Demand Management - Version 7.3.0 and later
Information in this document applies to any platform.


How can we achieve requirement that quantity X.1 to X.5 gets rounded to X+1  ?
Currently Demantra does rounding so that the value 0.1 to 0.5 converts to 0 (SO 12.1, to 12.5 gets rounded to 12)

Rounding of client expression is not taking precedence over server expression.


manual_stat,nvl(branch_data.sim_val_1,#FORE@0#*1)) * (1.00 -
nvl(decode(branch_data.trg_cannizn_perc,1,branch_data.trg_cannizn_perc,0),0)) * (1.00 -


if(final forecast >= 0.1 and final forecast <= 0.9,1,round(final forecast,0))

Since the server expression is very complicated which seems to be doing some calculations and since  if conditions cannot be put in the server expression, how will user be able to achieve the requirement that quantity X.1 to X.5 gets rounded to X+1


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms