easydigitaldownloads/Easy-Digital-Downloads — pull request #2306 by curtismchale (2014-05-20 04:05:37+00:00)
Title: avoiding number_format expects double error

Under some circumstances `number_format` can return an error since it expects the var type to be `double`.

Now we're casting to make sure we get the proper type of var.