How to get only number from money metafield?

i am using money metafield in shopify at product level this is liquid code - {{ section.settings.brand_price1 }} output is €0,17 EUR i want to do calculation based on some condition, so is there any filter to get only number figure ? means output should be 0.17

after price1 try adding .money_without_currency

You can try to use this code and check

{{ section.settings.brand_price1.value.amount | plus: 0 }}

I tried this, but showing 0
I used Money metafield, even “money” is not working, neither “money_without_currency”.

Hey @harsh.bundela

Have you tried this?

{{ section.settings.brand_price1.value.amount }}

Let me know if that works.

Cheers,
Moeed

Thank you for reply moeed.

I tried this but still showing 0
scenario is

I used Money type metafield for product
added that metafield in my section settings (dynamic source)

and then i am trying this liquid code, but somehow it is not showing actual amount
I tried to print json, but in the json there is no actual amount is showing.

strange :slight_smile:

That’s how I do/see it:

Note that it will apply currency conversions according to the current market (US on screenshot below):

Apparently, `money_without_currency` is not available in Shopify Flow.