November 29, 2018 at 10:13 pm
Comments posted to this topic are about the item Slash money
November 29, 2018 at 10:15 pm
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”
November 30, 2018 at 12:11 am
Nice question, thanks Steve.
...
November 30, 2018 at 3:03 am
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
November 30, 2018 at 3:14 am
Since it's not gold backed anymore it seems you can turn just about anything into money!
November 30, 2018 at 4:07 am
is it considered a currency symbol somewhere?
all these return 0.00
select \
select £
select $
select ¥
select €
November 30, 2018 at 7:39 am
So, to combine QOTD from yesterday and today; if you really want to upset your colleagues, you can have.
Declare @ money;
Select @=\
November 30, 2018 at 7:52 am
davidandrews13 - Friday, November 30, 2018 4:07 AMis it considered a currency symbol somewhere?
all these return 0.00select \
select £
select $
select ¥
select €
You may be on to something. I was wondering, is it documented or was this an intentional/accidental discovery?
November 30, 2018 at 9:42 am
Bert-701015 - Friday, November 30, 2018 7:52 AMdavidandrews13 - Friday, November 30, 2018 4:07 AMis it considered a currency symbol somewhere?
all these return 0.00select \
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.
December 6, 2018 at 8:37 am
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