Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

RTC v6.0.4: Create Short String Cost Field for Currency

Hello,

How can I create a work item presentation within a section for a short string with a preceding $ and ending with a decimal for the cents?

E.g., $40,000.00

Yes, the commas would be nice ;)

Thanks,
MK

0 votes


Accepted answer

Permanent link

I don't think you can "re-format" a string by using an editor presentation. Your best bet is to use the Decimal attribute type and the Decimal presentation. I can't find a way to put the dollar sign right next the text box. You may need to use a validator to force users to use at most two digits after the decimal point, or you can try to use the script to round it up automatically.

MK Skelton selected this answer as the correct answer

0 votes

Comments

No, you could either use a validator, or you could use another attribute where you generate the output as calculated value. The second one would just be read only the first one the value to enter.
Another option would be to create a custom attribute presentation which is very expensive and I would avoid that.

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 7,498
× 1,700

Question asked: Jan 09 '18, 4:00 p.m.

Question was seen: 1,385 times

Last updated: Jan 11 '18, 4:36 a.m.

Confirmation Cancel Confirm