sqlitefunction percentage not working.