Similar here, in my case I use already a string for it, this is only 
informational so a string is good enough.

On September 23, 2021 11:03:07 PM GMT+02:00, Ben Blount <b...@bben.us> wrote:
>I don't, and it seems like it would be fine to have a single valued
>metadata. I assume the grammar will require the key to be a string, but the
>values can be dates, bool, ints, floats etc?
>
>If there are folks that rely on this, there's a workaround of breaking it
>into 2 metadata where knowing the currency is important:
>  2021-01-02 * "Some transaction"
>    real_value_number: 123.45
>    real_value_currency: "USD"
>
>On Thu, Sep 23, 2021 at 1:55 PM Martin Blais <bl...@furius.ca> wrote:
>
>> e.g.
>>
>>   2021-01-02 * "Some transaction"
>>     real_value: 123.45 USD
>>     ...
>>
>> Does anyone use an Amount type as a metadata value?
>> (If I can remove it in the new version it'll simplify grammar.)
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Beancount" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to beancount+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/beancount/CAK21%2BhOGZwDZAFvmaEQXiV4hmagdwAs6ya1gwQOJCW%3DgKw%2Bzag%40mail.gmail.com
>> <https://groups.google.com/d/msgid/beancount/CAK21%2BhOGZwDZAFvmaEQXiV4hmagdwAs6ya1gwQOJCW%3DgKw%2Bzag%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>-- 
>You received this message because you are subscribed to the Google Groups 
>"Beancount" group.
>To unsubscribe from this group and stop receiving emails from it, send an 
>email to beancount+unsubscr...@googlegroups.com.
>To view this discussion on the web visit 
>https://groups.google.com/d/msgid/beancount/CACGEkZtwSyahmFbhzU4dSuaS_tauCZkZB4UVahhkeX4AisnrBA%40mail.gmail.com.

-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beancount+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/79F2B3AB-C8E4-4313-AA16-EFDD3EBD0B8F%40ch.tario.org.

Reply via email to