n8n Lab
Round Decimal Numbers in n8n using JavaScript Math
An invoice calculation returned a long decimal number. Round it to 2 decimal places.
Incoming Payload / Data:
{
"amount": 49.9982
}
$json.amount.
Pro Store
Ready-to-Use Make & n8n Blueprints
Stop building from scratch. Download production-ready automation templates, AI agent workflows, and JSON packs.
Explore Blueprints Store →Looking for another topic?
Use our interactive search drawer to filter exercises by Make.com or n8n.