@round

EditNew topicPost response Previous Next

Subject: @ round

Feedback Type: Question

Product Area: Domino Designer on Eclipse (DDE)

Technical Area: Functionality

Platform: Windows

Release: 8.5.2

Reproducible: Not applicable

I have three fields

  1. Total which is a computed field summing up the points they got for ansering a question correctly.

@Sum(A_1: A_2:A_3:A_4:A_5:A_6:A_7:A_8:A_9:A_10:A_11:A_12:A_13:A_14:A_15:A_16:A_17:A_18:A_19:A_20:A_21:A_22:A_23:A_24:A_25:A_26:A_27:A_28:A_29:A_30:A_31:A_32:A_33:A_34:A_35:A_36:A_37:A_38:A_39:A_40:A_41:A_42:A_43:A_44:A_45:A_46:A_47:A_48:A_49:A_50:A_51:A_52:A_53:A_54:A_55:A_56:A_57:A_58:A_59:A_60:A_61:A_62:A_63:A_64:A_65:A_66:A_67)

  1. Score which is taking the Total/162 (which is how many points is possible.

Total/162

  1. Score_D which is text

@Text(Score; “%”)

a popup in the Post Save.

@Prompt( [Ok] ; “Score” ; "Your Unofficial Score is " + @Char(13) + @Char(13) + Score_d)

When the score pops up it is giving me 85.1111111111% I would like it to just say 85%? Ive tried working with the @round but I can’t make it work.

Subject: Take a look at @INTEGER or use @Text with parameters

You’ll find it is one of the functions referenced under the See Also section for @round help.

Or use @Text with parameters example

@Text(Num;“F0%”)

Subject: @Text(Num;“F0%”)

Thank you, this worked. Sorry about the duplicate post, I thought I had posed to the incorrect board.