hi im little stucked with a script in db where i select a number:
SELECT ('%.2f', FPRE_VALOR) as value FROM FIJACION_PRECIO"+ WHERE FPRE_ID ="+idthis fuction is like toFixed() in javascript for format a number in 2 decimals example: http://stackoverflow.com/questions/9149063/sqlite-format-number-with-2-decimal-places-always but its not working i've been tried also with:
SELECT printf('%.2f', FPRE_VALOR) as value FROM FIJACION_PRECIO"+ WHERE FPRE_ID ="+idbut throws me next error that printf dont exist like a function