This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public string GetCurrencyCodeFromSymbol(string symbol) | |
{ | |
Debug.Log("Retrieving symbol" + symbol); | |
RegionInfo regionalInfo; | |
foreach(CultureInfo o in CultureInfo.GetCultures(CultureTypes.SpecificCultures)) | |
{ | |
regionalInfo = new RegionInfo(o.LCID); | |
Debug.Log("Regional Symbol" + regionalInfo.CurrencySymbol); | |
if(regionalInfo.CurrencySymbol == symbol) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
// You probably want to configure this to something of your own. | |
// ${home}, ${env:<variable>}, ${project_path:} and ${folder:} tokens can be used in the completesharp_assemblies option. | |
// | |
// ${home} is replaced with the value of the HOME environment variable. | |
// | |
// ${env:<variable>} is replaced with the "variable" environment variable. | |
// | |
// ${project_path:} tries to find a file with the given name in all the registered project folders and | |
// returns the first file found, or the original file name if none is found. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// main.cpp | |
// SublimeRunner | |
// | |
// Created by Alexander Degtyarev on 9/27/12. | |
// Copyright (c) 2012 Alexander Degtyarev. All rights reserved. | |
// | |
#include <iostream> | |
#include <sstream> |
NewerOlder