convert num

when `convert` is not equal the origin pointer, it means the style
value has number, use it as style value