 
     private function parseError(message:String, errorIndex:int):void
     {
-        trace("Parse error: " + message + " at " + errorIndex);
+        trace("Parse error: " + message + " at char " + errorIndex);
     }
 }
 

        decimal = parseInteger();
        if (!isFinite(decimal))
        {
            return false;
            parseError("Expected number after precision specifier", index);
        }
        else
        {

        zeroPad = parseInteger();
        if (!isFinite(zeroPad))
        {
            parseError("Expected number after zero pad specifier", index);
            return false;
        }
        switch (template.charAt(index))
        {
