- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Hi all,
I have the following code and it seems to be breaking after the .toFixed(). The first message box will display a number but the second message box won't display anything at all. Wondering if toFixed() doesn't work because labelvalue contains a string?
labelValue = String(monthObj.rawValue - lastMonthEle.rawValue);
xfa.host.messageBox(labelValue);
LabelRounded = labelValue.toFixed(2);
xfa.host.messageBox(LabelRounded);
Views
Replies
0 Likes
Total Likes