GUI-927

convert value to integer before applying negation