convert star to int