Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
8 replies
Subscribers
8 subscribers
Views
2429 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
gridRowLayout column displaying number incorrectly
garym
over 7 years ago
Hi,
We are using a grid and one of the columns is Quantity. Unbeknownst to me, it is possible that they could have a decimal value in this field. From the screenshot that I provided, the column to the right of Quantity is Unit Rate and the rule!APN_dollar has been applied to that column and it displays nicely. However, I want to do the same thing for Quantity but I don't want the $ sign. Is there an equivalent function that I can use to just show the decimal value?
a!textField(
label: "UoM " & ri!index,
value: ri!items[ri!index].unitOfMeasure_txt,
readonly: true
),
a!textField(
label: "Quantity " & ri!index,
value: ri!items[ri!index].quantity_int,
readonly:true,
align: "RIGHT"
),
a!textField(
label: "Unit Rate " & ri!index,
value: rule!APN_dollar(ri!items[ri!index].unitRate_dec,true),
readonly:true,
al...
OriginalPostID-236208
Discussion posts and replies are publicly visible
Parents
0
PhilB
A Score Level 1
over 7 years ago
Partial evaluation isn't necessary in this case: apply(fixed(_,2), {2.003, 4.552, 7})
Instead you can do: apply(fn!fixed, {2.003, 4.552, 7}, 2)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
PhilB
A Score Level 1
over 7 years ago
Partial evaluation isn't necessary in this case: apply(fixed(_,2), {2.003, 4.552, 7})
Instead you can do: apply(fn!fixed, {2.003, 4.552, 7}, 2)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data