Skip to main content
Solved

Round function with Units of Measurent

  • November 10, 2021
  • 1 reply
  • 83 views

Forum|alt.badge.img

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

@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

 

 

 

1 reply

mohansx
Forum|alt.badge.img+5
  • Former AIMMSian
  • 223 replies
  • Answer
  • November 10, 2021

@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