Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Format BigDecimal, removing decimal Point

Hello friends, a question how to format the numbers according to the following examples:

 

035190.72

644771.60

285366.60

249985.14

419719.68

 

to

 

03519072

64477160

28536660

24998514

41971968

 

 

Labels (3)
3 Replies
manodwhb
Champion II
Champion II

@guiibarbosaa92,i suggest you to read the column as sting and then use replaceAll function to remove "." and then convert sting to Bigdecimal.

 

row1.col.removeAll("\\.","")

 

 

Anonymous
Not applicable
Author

Hi friend, thanks for you solution.

 

I got it by using the following solution:

 

StringHandling.RIGHT("000000000" +mycolumn,9).replace(".", ""); 

vapukov
Master II
Master II

 

-- removed as not proper