Bearing balls, no matter where they are sold, are nearly all made in "Imperial" sizes so yours are almost certainly 1/4" for the rear hub and 3/16" for the front.
If there are metric size balls made, they aren't used in bicycles.
Any decent quality ball is suitable for these balls but the usual recommendation is to buy Grade 25 balls.