Slash money

  • Comments posted to this topic are about the item Slash money

  • Stranger things have been known to happen...
    Interesting question, thanks

    ____________________________________________
    Space, the final frontier? not any more...
    All limits henceforth are self-imposed.
    “libera tute vulgaris ex”

  • Nice question, thanks Steve.

    ...

  • Actually not only money type can be initialized this way. It works at any type where an implicit conversion from 0.00 is available, as select \; returns 0.00

  • Since it's not gold backed anymore it seems you can turn just about anything into money!

  • is it considered a currency symbol somewhere?
    all these return 0.00

    select \
    select £
    select $
    select ¥
    select €

  • So, to combine QOTD from yesterday and today; if you really want to upset your colleagues, you can have.

    Declare @ money;
    Select @=\

  • davidandrews13 - Friday, November 30, 2018 4:07 AM

    is it considered a currency symbol somewhere?
    all these return 0.00

    select \
    select £
    select $
    select ¥
    select €

    You may be on to something.  I was wondering, is it documented or was this an intentional/accidental discovery?

  • Bert-701015 - Friday, November 30, 2018 7:52 AM

    davidandrews13 - Friday, November 30, 2018 4:07 AM

    is it considered a currency symbol somewhere?
    all these return 0.00

    select \
    select £
    select $
    select ¥
    select €

    You may be on to something.  I was wondering, is it documented or was this an intentional/accidental discovery?

    https://en.wikipedia.org/wiki/Backslash

    i was looking at this and a paragraph caught my eye:

    In the Japanese encodings ISO 646 (a 7-bit code based on ASCII), JIS X 0201 (an 8-bit code), and Shift JIS (a multi-byte encoding which is 8-bit for ASCII), the code point 0x5C that would be used for backslash in ASCII is instead rendered as a yen mark (Â¥), while in Korean encoding, it is drawn as a won currency symbol (â‚©)

    whether i misunderstood it, or not, it looked like it was saying the backslash could be rendered as a Currency Symbol in certain encodings. so i thought i'd try other Currency Symbols.

  • random but good to know

    ---------------------------------------------------------------------------------------
    The more you know, the more you know that you dont know

Viewing 10 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic. Login to reply