Enjoy unlimited access to all forum features for FREE! Optional upgrade available for extra perks.

eBay API Help

Status
Not open for further replies.

Auction-Pros

Level 3
Legacy Platinum Member
Joined
Sep 17, 2006
Messages
68
Reaction score
0
I have an eBay API script and a simple fix.

When it displays the products, it will drop a zero in the cents area.

Example: $10.5
Should be: $10.50

Does anyone know how to fix this?

Any help would be appreciated.
 
Dynadot - Expired Domain Auctions

GreenT

Level 1
Legacy Platinum Member
Joined
Sep 14, 2010
Messages
11
Reaction score
0
You did not specify the language you're using for the API.

In PHP you might find the following functions helpful:
http://www.php.net/manual/en/function.money-format.php
http://www.php.net/manual/en/function.sprintf.php
http://www.php.net/manual/en/function.number-format.php

Make sure you have a look at the examples there.

If that doesn't help, tell us the language that API wrapper script is written in and how you use it -- some code examples might help others to determine what the problem is.

Marcus
 
Status
Not open for further replies.

Who has viewed this thread (Total: 1) View details

Who has watched this thread (Total: 2) View details

The Rule #1

Do not insult any other member. Be polite and do business. Thank you!

Members Online

Sedo - it.com Premiums

IT.com

Premium Members

MariaBuy

Upcoming events

Our Mods' Businesses

UrlPick.com

*the exceptional businesses of our esteemed moderators

Top Bottom