![]() |
Error in vb_number_format function?
I have writen my own modification in vbulletin 4.1.3 and It's have an error
My Language setting: Decimal Separator: . Thousands Separator: , Example error: My number: PHP Code:
PHP Code:
But if I use number format in template: Code:
{vb:number {vb:raw mynumber}} What is the problem? Is It a bug of vbulletin?? Sorry, I can't post new issua in tracker.vbulletin.com |
Same problem
|
This:
Code:
$formated = vb_number_format($mynumber); Should be this if you are using the mynumber in the template. Code:
$mynumber = vb_number_format($mynumber); And make sure you pre-register the mynumber variable for the template you want to use it in. |
All times are GMT. The time now is 12:11 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|