syntaxic sugar for integer and float attributes