Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 5180 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Give us some examples of the exact outcome, which would be a business decision. It would depend upon how the functions are applied.

For instance if x = 100 and y = 23 then:

x / ( y * Y ) = .1890359168241966

Div ( x ; y * y ) = 0

Round ( x / ( y * y ) ; 2 ) = .19

Int ( x / ( y * y ) ) = 0

... and so forth. If you are unsure of the exact business rules, provide some examples (at least five with acceptable decimal places in the starting numbers) and the results expected. From the examples, we can provide the function. The result would probably be question of rounding.

Posted

We are not talking script (even if you end up using the calculation in script). What we know to know are the expected results from several different combinations or simply provide the rules.

But if you are happy with the results you are achieving, simply add your calculation which got you to that end number with Int(). Otherwise, we need more information. :wink2:

Posted

i made a calculation z =(x)/(y*y) but z is having lots of decimals , i just want integer by using interger(number) can anyone help me please how to attch next step to above calculation

There is no "next step" - just make the calculation =

Div ( x ; y^2 )

This topic is 5180 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.