Question non-decimal display

Status
Not open for further replies.

Replicators

Customer
I am using a credit display in my header which shows how many credits you have, i been using the following code to display it.

Code:
{vb:raw bbuserinfo.credits}

However the problem is it also post's the decimal amount, so you can have 1.6873837430203948403985 or w/e credits which might over exceed width of the forum template it is in. Is there anyway to take out the decimal and round to the nearest?
 
Status
Not open for further replies.

Legacy vBCredits II Deluxe

vBulletin 3.8.x vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
846
Customer rating
0.00 star(s) 0 ratings
Back
Top