| Code: |
|
dbpExecSQL "DbList" "UPDATE Db SET Nota6=[#34][Num][#34]" "" |
| domino wrote: |
| I`m having a similar issue with my application
In effect I`ve created a shopping cart and whether I use math or dbprosum I can`t get it to display .00 where a value has no decimal places.. (ie whole £ pounds no pence) eg: it displays 24 rather than 24.00 (in math mode setting decimal places to either 2 or -1 has no effect.) |
| Quote: |
| At the point of making a display, it is no longer needed to be a number (specifically) it is a string. You can do a strsearch for the 'dot' and if it doesn't exist, add a .00 to the string before displaying. |
| Quote: |
| The value returned by the dbpSum action is now formatted using the calculated field's display format as specified in dbpSetFieldProperties. |