handle float-valued attributes