All the value in two decimals
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Sshasnk
8 - Asteroid
‎01-04-2023
01:53 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I want to convert the number to 2 decimal places, for every number
Number |
123 |
123.456 |
123.00 |
456.01 |
Number | Number_1 |
123 | 123.00 |
123.456 | 123.45 |
123.00 | 123.00 |
456.01234 | 456.01 |
Labels:
- Labels:
- Common Use Cases
- Datasets
- Developer
4 REPLIES 4
DavidSkaife
14 - Magnetar
‎01-04-2023
02:08 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @Sshasnk
Here is a way of doing it in one tool, use the Select tool to change the type to FixedDecimal:
Christina_H
14 - Magnetar
‎01-04-2023
02:09 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
You need to convert the number to a string: ToString([Number],2)
grazitti_sapna
17 - Castor
‎01-04-2023
02:22 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@Sshasnk , If the data type is number then you can change it to fixed decimal and specify the precision and scale of the column. Below are more details on the fixed decimal data type usage:
Sapna Gupta
Sarreddy
9 - Comet
‎01-04-2023
02:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
