From 10aabb5967d1f9ac1c7bd58ab0067785171d8ad0 Mon Sep 17 00:00:00 2001 From: David Pickett Date: Tue, 26 Nov 2024 09:53:22 -1000 Subject: [PATCH] Fix percentage formatting between Apex and JS --- .../lwc/stickySelectronDataCell/stickySelectronDataCell.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/force-app/main/default/lwc/stickySelectronDataCell/stickySelectronDataCell.js b/force-app/main/default/lwc/stickySelectronDataCell/stickySelectronDataCell.js index b581002..9c09b54 100644 --- a/force-app/main/default/lwc/stickySelectronDataCell/stickySelectronDataCell.js +++ b/force-app/main/default/lwc/stickySelectronDataCell/stickySelectronDataCell.js @@ -90,7 +90,7 @@ export default class StickySelectronDataCell extends LightningElement { return formatCurrencyLocale(inputVal); } if (this.sfType === 'PERCENT') { - return formatPercentLocale(inputVal); + return formatPercentLocale(inputVal / 100); } if (this.sfType === 'DOUBLE') { return formatDoubleLocale(inputVal, this.sfScale);