Urgent Help Rating system.!

can your help me in kodular block programming in which I have made ratings system and for example how can I make system like if total rate 146 star by total user 30 and the value will come 4.86667 and I want make auto choose the greater that 5 or less than 5 to make stort form like if the output value is 4.866667 the choose 4.9 and if less than 5 which is 4.84999… the choose 4.8 like this example

I have done like this but it’s not correct way I guess

output :point_down:
Screenshot 2023-10-23 105216

Use math block ‘format as decimal’. it is returning 4.9 in this case.

1 Like

ok wait I am trying

1 Like

it worked, Thanks

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.