Set attribute type as int* and the field will be a number field.
int*
Set attribute type as float* and the field will be a float field.
float*