[YUI] Change data type from Int to Number

Fix data type because we should use Number instead of Int on the our API documents and JavaScript world.