[powerdebug 03/14] use an int instead of a double