Magento amount is different from Square amount

I’m facing issue while using Square payment methods in my Magneto 2.4.1 site.
It seems like the amount which getting from square are wrong because decimal point.
How can I fix this issue ?

Are you passing a float to the payment request? If so you’ll need to change it to a string in the smallest denomination of the currency being charged. For example $2.00 will be passed in as 200 cents. :slightly_smiling_face: