Round function with Units of Measurent

  • 10 November 2021
  • 1 reply


Hi, I seem to have difficulties with defining the number of decimals when rounding my parameters . The function description tells me I should define a positive integer for defining the number of decimals on the right of the decimal point, but this function gives me a different number of decimals. I use Units of Measurement and I think the ‘internal’ unit is rounded instead of my defined unit for the specific parameter (which differs in order 6 (10^6) ). Do more people encounter this problem?


Best answer by mohansx 10 November 2021, 21:34

View original

1 reply

Userlevel 5
Badge +5

@anneke-vries are you using this round function in a definition or assignment statement ? Can you share the declaration of your usage ? (either screenshot or text representation). 


Also verify that the value of option `rounding_compatibility` is set to AIMMS 3 7





Didn't find what you were looking for? Try searching on our documentation pages:

AIMMS Developer & PRO | AIMMS How-To | AIMMS SC Navigator