Align the decimal point in report
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2024 08:32 PM
Hi, all.
I would like to have the report display from the second decimal place.
For example, I would like to display the following.
13.5 28.38
↓
13.50 28.38
Now it looks like the image, how can I align the decimal point?
The table in the report is the project task table.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2024 08:37 PM
In your script, try using
parseFloat(number).toFixed(2);
Please mark my answer correct/helpful.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2024 09:53 PM
@Maddysunil
Can I use scripts in my reports?
If so, how?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2024 10:16 PM
Can you share your existing code where you calculating percentage complete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2024 10:23 PM
@Maddysunil
The percentage complete comes standard with the project task table.
Therefore, no scripting is required.