Best answer

Help with decimals! $1.09 becomes $109 (big difference!)

Hi, we created a trigger to pull data from Square to Wave but the sale amount was missing the decimal point so a sale of $1.09 was recorded in Wave as $109. Looking at the data pulled from Square in Zapier the raw data shows no decimal. 

The only help we found was the formatter tool but we don't know how to implement it with this zap trigger. 

Please advise, thank you! 


Best answer by hadas 8 June 2023, 20:03

View original

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

3 replies

Userlevel 7
Badge +14

Hi @hadas 

Good question.

Try adding a Zap step: Formatter > Numbers > Perform Math Operation (Divide by 100)

@Troy Tessalone Hi Troy, thanks for replying! I actually, sort of by accident, changed the Event from “New Payment” to “New Order” and it just worked itself out, no more decimal problems. But I like your solution totally makes sense! Thank you! 

Userlevel 7
Badge +6

Hi @hadas,

Awesome! We’re glad to hear you were able to get it sorted!

If you have any other questions, please don’t hesitate to ask in the Community. We’re always happy to help! 🤗