I was taught this also; however, I was also taught (way back in the days of being a secretary and using a writing "style" book) that when two numbers are used in the same sentence, you have to be consistent with both of them and not use the two forms together. So either use the numeral form for both or the text form for both. However, that rule was for constructing sentences and not labeling products.