One hundred fifty grams of all-purpose flour is 1.25 cups, which is one cup plus one quarter cup. The same weight is about 0.76 cups of granulated sugar and 0.66 cups of butter. Ingredient density determines which of those results is correct.
For flour, the 1.25 cup result is practical to measure with a one-cup measure and a quarter-cup measure. For less convenient decimal results, weigh the ingredient or use tablespoons only for the remaining small fraction.
Recipes for cookies, quick breads and smaller cakes often use flour or sugar near 150 grams. Keep packed ingredients, such as brown sugar, distinct from ingredients that should be measured loosely.