Desktop version

Main > Forum > Supplementary > Suggestions, comments, feedback > I can do the TL symbol as seen in the sample code below. But I can make usd euro symbols

Forum

Search UsersRules
I can do the TL symbol as seen in the sample code below. But I can make usd euro symbols
#1
Just came
Points:: 0
Joined:: May 8, 2018

I can do the TL symbol as seen in the sample code below.
But I can make usd euro symbols

CASE
WHEN SatışİrsaliyesiSatırlar.DövizTürü = VALUE(Enum.DövizTürleri.TRY)
THEN "TL"
WHEN SatışİrsaliyesiSatırlar.DövizTürü = VALUE(Enum.DövizTürleri.EUR)
THEN "€"
WHEN SatışİrsaliyesiSatırlar.DövizTürü = VALUE(Enum.DövizTürleri.USD)
THEN "$"
ELSE ""
END

If the symbol I want to make is ₺

Profile
#2
Administrator
Points:: 0
Joined:: Oct 3, 2019

Dear Harun,
unfortunately, there is no way to write a lyre sign in the query text.

Nevertheless, the developer can print the "₺" sign. The "Char(Unicode)" function can be used for this. Pls, see the example:

Code
&AtClient
Procedure Command2(Command)
   
      Message(Char("8378"));
   
EndProcedure

Profile
#3
Just came
Points:: 0
Joined:: Apr 28, 2021

Dear Harun,

May be it will be better if you'll make currency to be a Catalog, not Enumeration. And in this Catalog you'll be able to specify any unicode string in name (or other field).

Profile
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)



© 1C LLC. All rights reserved
1C Company respects the privacy of our customers and visitors
to our Web-site.