Handle number attributes