Question5Replies4041Views KrzysztofL2300 Member since 2017 4 posts T-Mobile Posted: 2 years agoLast activity: 1 year 8 months ago Closed Solved Round off number to two placesHi,I am facing a problem to round off a number to two places after comma. I can not find any good solution for this in Data Transform.Ex. Multiply two numbers and output is 334,535Property should contain number with two decimal places only. I found some solutions for UI to round off but I need to have this property on pyWorkPage as well to make further calculations.I tried to use something OOTB but I couldn't find anything.RegardsKrzysztof***Updated by moderator: Lochan to add Categories*** Data Integration User Interface ×Close popoverFacebookTwitterLinkedinEmail Copy Link Copied! Moderation Team has archived post This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question. Accepted Solution Posted: 2 years agoChunzhi_Hong PEGA replied to KrzysztofL2300try below. set .deciamlProp = @divide(.decimalProp,1,2,"half_up") Posted: 2 years agoKrzysztofL2300 T-Mobile replied to Chunzhi_HongThanks, it's working now as expected Posted: 2 years agokumaa33 PEGA replied to KrzysztofL2300Hello Krzysztof, I have tried something to achieve through writing a custom java step. You can call that activity from Data Transform. To call the activity in Data Transform , you can use pega_rules_utilities.callActivity(PrimaryPageName, ActivityName, tools.getParameterPage()); I have tried running the activity and its working properly, but have not tried calling the activity in DT. Thank you -Abhishek Posted: 2 years agokumaa33 PEGA replied to kumaa33But i think the approach used by chunzi is more efficient. Thank you Posted: 1 year agoLyhovA34 FDM Group Inc replied to KrzysztofL2300You should use this function: BigDecimalRound(numberArg,RoundingType,scale) ie: Round your number evenly to two decimal places: .BigDecimalRound(.numberArg,HALF_EVEN,2) Search it in Expression Builder.