ParamQuery grid support forum

General Category => Help for ParamQuery Grid (free version) => Topic started by: pellegrino.h@gmail.com on July 02, 2015, 10:16:30 pm

Title: formatCurrency
Post by: pellegrino.h@gmail.com on July 02, 2015, 10:16:30 pm
allways return positive value even when the original value is negative
Title: Re: formatCurrency
Post by: paramvir on July 03, 2015, 12:15:30 am
it always returns positive value so that custom prefix can be applied easily.

return ((value < 0) ? "-" : "") + "$" + $.paramquery.formatCurrency( value );