Skip to main content
Announcements
Global Transformation Awards! Applications are now open. Submit Entry
cancel
Showing results for 
Search instead for 
Did you mean: 
berryandcherry6
Creator III
Creator III

getting integer value while multiplying

Hi all,

example: Eq 1 :value = (number of apples * 23 )/5 for this i get number with decimals like 1234.32

Eq 2: value1 = value * 89

While displayinng ''value'' it has to display with decimals ,but while multiplying in equation 2 , i have to multiple with only integer in value1 equation.

How could i achieve this.

1 Solution

Accepted Solutions
johnw
Champion III
Champion III

If I've understood the question, one of these?

value1 = floor(value)*89

value1 = round(value)*89

value1 = ceil(value)*89

View solution in original post

2 Replies
johnw
Champion III
Champion III

If I've understood the question, one of these?

value1 = floor(value)*89

value1 = round(value)*89

value1 = ceil(value)*89

berryandcherry6
Creator III
Creator III
Author

Hi johnw ,

value1 = floor(value)*89



This ,Solved my query.


Thanks