Forum Discussion

RafaelKnuth's avatar
RafaelKnuth
Advocate I
8 years ago
Solved

M-Language: Beginner Question

I am an absolute newbie to M, and I am currently playing around with simple code snippets to understand the syntax of the language. Below is my code. I have 3 input variables (product price, qantity ...
  • Greg_Deckler's avatar
    8 years ago
    let
        blue_shirt_price = 25,
        blue_shirt_qty_sold = 10,
        product_name = "Blue Shirt"
    
    in
        Text.From(blue_shirt_price * blue_shirt_qty_sold) & product_name