I'm trying to input a number like...12345678 and in my template return something like 12,345,678.
I'm using 'Float' as the db type and using the Nice() method.
private static $db = array(
'MyNum' => 'Float'
);
<div class="content">
<h1>$Title</h1>
<p>$MyNum.Nice</p>
....
But it's rounding so I'm getting this instead:
12,345,700
I guess I could just use Varchar(n) instead of Float, but that just seems wrong. How do I get the actual number?