.NET Delicesine Hızlı Birim Dönüştürücü (.NET Insanely Fast Unit Converter)

Düşünceniz Nedir?

  • Mükkemmel

    Kullanılan: 7 77.8%
  • Çok İyi

    Kullanılan: 1 11.1%
  • İyi

    Kullanılan: 1 11.1%
  • Kötü

    Kullanılan: 0 0.0%
  • Çok Kötü

    Kullanılan: 0 0.0%
  • Berbat

    Kullanılan: 0 0.0%

  • Kullanılan toplam oy
    9

ReaLTaiizor

Kızıltaş Madencisi
Mesajlar
583
En iyi cevaplar
0
Beğeniler
201
Puanları
790
Ruh hali



Conforyon'a Hoşgeldiniz

Conforyon bir Birim Dönüştürücü kütüphanesidir. Sunduğu çeşitli birim dönüşümlerin dönüştürülmesine olanak sağlar.

Kullanım
Adım 1:Referans olarak Conforyon'u ekleyin veya NuGet üzerinden Conforyon'u aratın;

Install-Package Conforyon

Adım 2:Dönüşümlerin tadını çıkarın

Demolar

Conforyon UI


Conforyon UX


Ayrıntılı Kullanım

Çekirdek Formüllerini Değiştirme

Alma
C#:
/* GetValue(string Key1 = "DataStorage", string Key2 = "Bit", string Key3 = "Byte", string Error = ErrorMessage) */
GetValue("Time", "Minute", "Second", "Hata!");
XML:
<FunctionResult>
    <ReturnType>System.String</ReturnType>
    <ReturnValue>60</ReturnValue>
</FunctionResult>


C#:
/* GetValue(string Key1 = "DataStorage", string Key2 = "Bit", string Key3 = "Byte", string Error = ErrorMessage) */
GetValue("Speed", "MPH", "KPH", "Hata!");
XML:
<FunctionResult>
    <ReturnType>System.String</ReturnType>
    <ReturnValue>1,609344</ReturnValue>
</FunctionResult>


Ayarlama
C#:
/* SetValue(string Key1 = "DataStorage", string Key2 = "Bit", string Key3 = "Byte", string Value = "8", string Error = ErrorMessage) */
SetValue("Time", "Minute", "Second", "30", "Hata!");
XML:
<FunctionResult>
    <ReturnType>System.String</ReturnType>
    <ReturnValue>30</ReturnValue>
</FunctionResult>


C#:
/* GetValue(string Key1 = "DataStorage", string Key2 = "Bit", string Key3 = "Byte", string Error = ErrorMessage) */
SetValue("Speed", "MPH", "KPH", "2", "Hata!");
XML:
<FunctionResult>
    <ReturnType>System.String</ReturnType>
    <ReturnValue>2</ReturnValue>
</FunctionResult>


Liste
C#:
/* ListValue(string Error = "Error", string Title = "Title") */
ListValue("Hata", "Başlık");
XML:
<FunctionResult>
    <ReturnType>System.Collections.Generic.Dictionary</ReturnType>
    <ReturnValue>(Dictionary<string, Dictionary<string, Dictionary<string, string>>>)...</ReturnValue>
</FunctionResult>


C#:
/* ListValueJson(string Error = ErrorMessage) */
ListValueJson("Hata!");
XML:
<FunctionResult>
    <ReturnType>System.String</ReturnType>
    <ReturnValue>(JS-Serialize)...</ReturnValue>
</FunctionResult>


Pano

Metin
C#:
/* CopyText(string Text, bool Copy = true) */
CopyText("Conforyon", false);


C#:
/* GetText(bool Clear = false, string Back = EmptyMessage, string Error = ErrorMessage) */
GetText(true, "Boş!", "Hata!");
XML:
<FunctionResult>
    <ReturnType>System.String</ReturnType>
    <ReturnValue>Conforyon</ReturnValue>
</FunctionResult>


Ses
C#:
/* CopyAudio(byte[] Bytes) */
CopyAudio(File.ReadAllBytes(FilePath));


C#:
/* GetAudio(bool Clear = false) */
GetAudio(true);
XML:
<FunctionResult>
    <ReturnType>System.IO.Stream</ReturnType>
    <ReturnValue>DataFormats.WaveAudio</ReturnValue>
</FunctionResult>


Renk

HEX -> RGB
C#:
/* HEXtoRGB(string Hex, ColorType Type = ColorType.RGB1, string Error = ErrorMessage) */
HEXtoRGB("FFFFFF", ColorType.RGB1, "Hata!");
XML:
<FunctionResult>
    <ReturnType>System.String</ReturnType>
    <ReturnValue>255, 255, 255</ReturnValue>
</FunctionResult>


C#:
/* HEXtoRGB(string Hex, ColorType Type = ColorType.RGB1, string Error = ErrorMessage) */
HEXtoRGB("#000000", ColorType.RRGGBB1, "Hata!");
XML:
<FunctionResult>
    <ReturnType>System.String</ReturnType>
    <ReturnValue>R: 0, G: 0, B: 0</ReturnValue>
</FunctionResult>


RGB -> HEX
C#:
/* RGBtoHEX(int R, int G, int B, bool Sharp = false, string Error = ErrorMessage) */
RGBtoHEX(255, 255, 255, true, "Hata!");
XML:
<FunctionResult>
    <ReturnType>System.String</ReturnType>
    <ReturnValue>#FFFFFF</ReturnValue>
</FunctionResult>


C#:
/* RGBtoHEX(int R, int G, int B, bool Sharp = false, string Error = ErrorMessage) */
RGBtoHEX(0, 0, 0, false, "Hata!");
XML:
<FunctionResult>
    <ReturnType>System.String</ReturnType>
    <ReturnValue>000000</ReturnValue>
</FunctionResult>


Kripto

TEXT -> BASE64
C#:
/* TEXTtoBASE64(string Text, string Error = ErrorMessage) */
TEXTtoBASE64("Conforyon", "Hata!");
XML:
<FunctionResult>
    <ReturnType>System.String</ReturnType>
    <ReturnValue>Q29uZm9yeW9u</ReturnValue>
</FunctionResult>


BASE64 -> TEXT
C#:
/* BASE64toTEXT(string Base64, string Error = ErrorMessage) */
BASE64toTEXT("Q29uZm9yeW9u", "Hata!");
XML:
<FunctionResult>
    <ReturnType>System.String</ReturnType>
    <ReturnValue>Conforyon</ReturnValue>
</FunctionResult>


TEXT -> MD5
C#:
/* TEXTtoMD5(string Text, bool Uppercase = false, string Error = ErrorMessage) */
TEXTtoMD5("Conforyon", false, "Hata!");
XML:
<FunctionResult>
    <ReturnType>System.String</ReturnType>
    <ReturnValue>9946dc70f0672da2ba000a0cb80f8872</ReturnValue>
</FunctionResult>


C#:
/* TEXTtoMD5(string Text, bool Uppercase = false, string Error = ErrorMessage) */
TEXTtoMD5("Conforyon", true, "Hata!");
XML:
<FunctionResult>
    <ReturnType>System.String</ReturnType>
    <ReturnValue>9946DC70F0672DA2BA000A0CB80F8872</ReturnValue>
</FunctionResult>


TEXT -> SHA1
C#:
/* TEXTtoSHA1(string Text, bool Uppercase = false, string Error = ErrorMessage) */
TEXTtoSHA1("Conforyon", false, "Hata!");
XML:
<FunctionResult>
    <ReturnType>System.String</ReturnType>
    <ReturnValue>4a417fe4795f59e4848c403ffc4c569417a743b4</ReturnValue>
</FunctionResult>


C#:
/* TEXTtoSHA1(string Text, bool Uppercase = false, string Error = ErrorMessage) */
TEXTtoSHA1("Conforyon", true, "Hata!");
XML:
<FunctionResult>
    <ReturnType>System.String</ReturnType>
    <ReturnValue>4A417FE4795F59E4848C403FFC4C569417A743B4</ReturnValue>
</FunctionResult>


TEXT -> SHA256
C#:
/* TEXTtoSHA256(string Text, bool Uppercase = false, string Error = ErrorMessage) */
TEXTtoSHA256("Conforyon", false, "Hata!");
XML:
<FunctionResult>
    <ReturnType>System.String</ReturnType>
    <ReturnValue>4a772e794799efdf4dc171ea2779e78bfa582c46ef86c6c018b7e9387d7fe56b</ReturnValue>
</FunctionResult>


C#:
/* TEXTtoSHA256(string Text, bool Uppercase = false, string Error = ErrorMessage) */
TEXTtoSHA256("Conforyon", true, "Hata!");
XML:
<FunctionResult>
    <ReturnType>System.String</ReturnType>
    <ReturnValue>4A772E794799EFDF4DC171EA2779E78BFA582C46EF86C6C018B7E9387D7FE56B</ReturnValue>
</FunctionResult>


TEXT -> SHA384
C#:
/* TEXTtoSHA384(string Text, bool Uppercase = false, string Error = ErrorMessage) */
TEXTtoSHA384("Conforyon", false, "Hata!");
XML:
<FunctionResult>
    <ReturnType>System.String</ReturnType>
    <ReturnValue>3dca281c6056810ca6aff8bb151ea8d0a1908f8650d573237cc038dce3bb30d04a79d2c0f778a5a2e609951a11443db3</ReturnValue>
</FunctionResult>


C#:
/* TEXTtoSHA384(string Text, bool Uppercase = false, string Error = ErrorMessage) */
TEXTtoSHA384("Conforyon", true, "Hata!");
XML:
<FunctionResult>
    <ReturnType>System.String</ReturnType>
    <ReturnValue>3DCA281C6056810CA6AFF8BB151EA8D0A1908F8650D573237CC038DCE3BB30D04A79D2C0F778A5A2E609951A11443DB3</ReturnValue>
</FunctionResult>


TEXT -> SHA512
C#:
/* TEXTtoSHA512(string Text, bool Uppercase = false, string Error = ErrorMessage) */
TEXTtoSHA512("Conforyon", false, "Hata!");
XML:
<FunctionResult>
    <ReturnType>System.String</ReturnType>
   <ReturnValue>d47368182220aab5f687dde734acbb8d895bb2d870e789ee03216f3b215ac00a4202ead0aabce2049ae49a0079b130211323453604c088b09a27ee989de9db8b</ReturnValue>
</FunctionResult>


C#:
/* TEXTtoSHA512(string Text, bool Uppercase = false, string Error = ErrorMessage) */
TEXTtoSHA512("Conforyon", true, "Hata!");
XML:
<FunctionResult>
    <ReturnType>System.String</ReturnType>
    <ReturnValue>D47368182220AAB5F687DDE734ACBB8D895BB2D870E789EE03216F3B215AC00A4202EAD0AABCE2049AE49A0079B130211323453604C088B09A27EE989DE9DB8B</ReturnValue>
</FunctionResult>


Hash

FILE -> MD5
C#:
/* FILEtoMD5(string Path, bool Uppercase = false, string Error = ErrorMessage) */
FILEtoMD5("C:\\Conforyon.dll", false, "Hata!");
XML:
<FunctionResult>
    <ReturnType>System.String</ReturnType>
    <ReturnValue>f9d992a8e8e021c00baa6fe40a35b2fd</ReturnValue>
</FunctionResult>


C#:
/* FILEtoMD5(string Path, bool Uppercase = false, string Error = ErrorMessage) */
FILEtoMD5("C:\\Conforyon.dll", true, "Hata!");
XML:
<FunctionResult>
    <ReturnType>System.String</ReturnType>
    <ReturnValue>F9D992A8E8E021C00BAA6FE40A35B2FD</ReturnValue>
</FunctionResult>


FILE -> SHA1
C#:
/* FILEtoSHA1(string Path, bool Uppercase = false, string Error = ErrorMessage) */
FILEtoSHA1("C:\\Conforyon.dll", false, "Hata!");
XML:
<FunctionResult>
    <ReturnType>System.String</ReturnType>
    <ReturnValue>5622cc83830cf224545f122a3ca129d60d151dcb</ReturnValue>
</FunctionResult>


C#:
/* FILEtoSHA1(string Path, bool Uppercase = false, string Error = ErrorMessage) */
FILEtoSHA1("C:\\Conforyon.dll", true, "Hata!");
XML:
<FunctionResult>
    <ReturnType>System.String</ReturnType>
    <ReturnValue>5622CC83830CF224545F122A3CA129D60D151DCB</ReturnValue>
</FunctionResult>


FILE -> SHA256
C#:
/* FILEtoSHA256(string Path, bool Uppercase = false, string Error = ErrorMessage) */
FILEtoSHA256("C:\\Conforyon.dll", false, "Hata!");
XML:
<FunctionResult>
    <ReturnType>System.String</ReturnType>
    <ReturnValue>0d71a9f754b5c02cf143a4af153cbe853cda8fc096a253ebe86e6d7970615ece</ReturnValue>
</FunctionResult>


C#:
/* FILEtoSHA256(string Path, bool Uppercase = false, string Error = ErrorMessage) */
FILEtoSHA256("C:\\Conforyon.dll", true, "Hata!");
XML:
<FunctionResult>
    <ReturnType>System.String</ReturnType>
    <ReturnValue>0D71A9F754B5C02CF143A4AF153CBE853CDA8FC096A253EBE86E6D7970615ECE</ReturnValue>
</FunctionResult>


FILE -> SHA384
C#:
/* FILEtoSHA384(string Path, bool Uppercase = false, string Error = ErrorMessage) */
FILEtoSHA384("C:\\Conforyon.dll", false, "Hata!");
XML:
<FunctionResult>
    <ReturnType>System.String</ReturnType>
    <ReturnValue>154af1bf38dc9b0495704d0a67bf5890f89833165f14d9f4990004bea1f29341a8699e70537a188e0cade1695083c9c6</ReturnValue>
</FunctionResult>


C#:
/* FILEtoSHA384(string Path, bool Uppercase = false, string Error = ErrorMessage) */
FILEtoSHA384("C:\\Conforyon.dll", true, "Hata!");
XML:
<FunctionResult>
    <ReturnType>System.String</ReturnType>
    <ReturnValue>154AF1BF38DC9B0495704D0A67BF5890F89833165F14D9F4990004BEA1F29341A8699E70537A188E0CADE1695083C9C6</ReturnValue>
</FunctionResult>


FILE -> SHA512
C#:
/* FILEtoSHA512(string Path, bool Uppercase = false, string Error = ErrorMessage) */
FILEtoSHA512("C:\\Conforyon.dll", false, "Hata!");
XML:
<FunctionResult>
    <ReturnType>System.String</ReturnType>
    <ReturnValue>a9de54d604fba423c81862b0559aa21165d6d69cc751c74f7d2dcc360ba1b750f4e4fee934c24939bb15c70d9a632b203e086a1b9eeeb745e2e7959325c1e968</ReturnValue>
</FunctionResult>


C#:
/* FILEtoSHA512(string Path, bool Uppercase = false, string Error = ErrorMessage) */
FILEtoSHA512("C:\\Conforyon.dll", true, "Hata!");
XML:
<FunctionResult>
    <ReturnType>System.String</ReturnType>
    <ReturnValue>A9DE54D604FBA423C81862B0559AA21165D6D69CC751C74F7D2DCC360BA1B750F4E4FEE934C24939BB15C70D9A632B203E086A1B9EEEB745E2E7959325C1E968</ReturnValue>
</FunctionResult>


Veri Depolama

Otomatik Veri Dönüştürme
C#:
/* AutoDataConvert(string InputVariable, StorageType InputType, bool TypeText = false, bool Decimal = false, bool Comma = false, int PostComma = 0, string Error = ErrorMessage) */
AutoDataConvert("987654321", StorageType.Byte, true, true, true, 2, "Hata!");
XML:
<FunctionResult>
    <ReturnType>System.String</ReturnType>
    <ReturnValue>941,90 MB</ReturnValue>
</FunctionResult>


C#:
/* AutoDataConvert(string InputVariable, StorageType InputType, bool TypeText = false, bool Decimal = false, bool Comma = false, int PostComma = 0, string Error = ErrorMessage) */
AutoDataConvert("987654321", StorageType.Byte, false, true, false, 0, "Hata!");
XML:
<FunctionResult>
    <ReturnType>System.String</ReturnType>
    <ReturnValue>941</ReturnValue>
</FunctionResult>


Veri Dönüştürme
C#:
/* DataConvert(string InputVariable, StorageType InputType, StorageType TypeConvert, bool Decimal = false, bool Comma = false, int PostComma = 0, string Error = ErrorMessage) */
DataConvert("987654321", StorageType.Byte, StorageType.GB, true, true, 2, "Hata!");
XML:
<FunctionResult>
    <ReturnType>System.String</ReturnType>
    <ReturnValue>0,91</ReturnValue>
</FunctionResult>


C#:
/* DataConvert(string InputVariable, StorageType InputType, StorageType TypeConvert, bool Decimal = false, bool Comma = false, int PostComma = 0, string Error = ErrorMessage) */
DataConvert("987654321", StorageType.Byte, StorageType.GB, false, true, 5, "Hata!");
XML:
<FunctionResult>
    <ReturnType>System.String</ReturnType>
    <ReturnValue>0,91982</ReturnValue>
</FunctionResult>


Sıcaklık

Celsius -> Fahrenheit
C#:
/* CtoF(string Celsius, bool Decimal, bool Comma, int PostComma = 0, bool Text = true, string Error = ErrorMessage) */
CtoF("12345", true, true, 1, true, "Hata!");
XML:
<FunctionResult>
    <ReturnType>System.String</ReturnType>
    <ReturnValue>22.253,0 F</ReturnValue>
</FunctionResult>


C#:
/* CtoF(string Celsius, bool Decimal, bool Comma, int PostComma = 0, bool Text = true, string Error = ErrorMessage) */
CtoF("12345", false, false, 0, false, "Hata!");
XML:
<FunctionResult>
    <ReturnType>System.String</ReturnType>
    <ReturnValue>22253</ReturnValue>
</FunctionResult>


Fahrenheit -> Celsius
C#:
/* FtoC(string Fahrenheit, bool Decimal, bool Comma, int PostComma = 0, bool Text = true, string Error = ErrorMessage) */
FtoC("12345", true, true, 2, true, "Hata!");
XML:
<FunctionResult>
    <ReturnType>System.String</ReturnType>
    <ReturnValue>6.840,55 C</ReturnValue>
</FunctionResult>


C#:
/* FtoC(string Fahrenheit, bool Decimal, bool Comma, int PostComma = 0, bool Text = true, string Error = ErrorMessage) */
FtoC("12345", false, false, 0, false, "Hata!");
XML:
<FunctionResult>
    <ReturnType>System.String</ReturnType>
    <ReturnValue>6840</ReturnValue>
</FunctionResult>


Tipografi

INCH -> CM
C#:
/* INCHtoCM(string Inch, bool Decimal, bool Comma, int PostComma = 0, string Error = ErrorMessage) */
INCHtoCM("12345", true, true, 1, "Hata!");
XML:
<FunctionResult>
    <ReturnType>System.String</ReturnType>
    <ReturnValue>31.356,3</ReturnValue>
</FunctionResult>


C#:
/* INCHtoCM(string Inch, bool Decimal, bool Comma, int PostComma = 0, string Error = ErrorMessage) */
INCHtoCM("12345", false, false, 0, "Hata!");
XML:
<FunctionResult>
    <ReturnType>System.String</ReturnType>
    <ReturnValue>31356</ReturnValue>
</FunctionResult>


INCH -> PX
C#:
/* INCHtoPX(string Inch, bool Decimal, bool Comma, int PostComma = 0, string Error = ErrorMessage) */
INCHtoPX("12345", true, true, 1, "Hata!");
XML:
<FunctionResult>
    <ReturnType>System.String</ReturnType>
    <ReturnValue>1.185.120,0</ReturnValue>
</FunctionResult>


C#:
/* INCHtoPX(string Inch, bool Decimal, bool Comma, int PostComma = 0, string Error = ErrorMessage) */
INCHtoPX("12345", false, false, 0, "Hata!");
XML:
<FunctionResult>
    <ReturnType>System.String</ReturnType>
    <ReturnValue>1185120</ReturnValue>
</FunctionResult>


CM -> INCH
C#:
/* CMtoINCH(string Centimeter, bool Decimal, bool Comma, int PostComma = 0, string Error = ErrorMessage) */
CMtoINCH("12345", true, true, 1, "Hata!");
XML:
<FunctionResult>
    <ReturnType>System.String</ReturnType>
    <ReturnValue>4.860,2</ReturnValue>
</FunctionResult>


C#:
/* CMtoINCH(string Centimeter, bool Decimal, bool Comma, int PostComma = 0, string Error = ErrorMessage) */
CMtoINCH("12345", false, false, 0, "Hata!");
XML:
<FunctionResult>
    <ReturnType>System.String</ReturnType>
    <ReturnValue>4860</ReturnValue>
</FunctionResult>


CM -> PX
C#:
/* CMtoPX(string Centimeter, bool Decimal, bool Comma, int PostComma = 0, string Error = ErrorMessage) */
CMtoPX("12345", true, true, 1, "Hata!");
XML:
<FunctionResult>
    <ReturnType>System.String</ReturnType>
    <ReturnValue>466.582,6</ReturnValue>
</FunctionResult>


C#:
/* CMtoPX(string Centimeter, bool Decimal, bool Comma, int PostComma = 0, string Error = ErrorMessage) */
CMtoPX("12345", false, false, 0, "Hata!");
XML:
<FunctionResult>
    <ReturnType>System.String</ReturnType>
    <ReturnValue>466582</ReturnValue>
</FunctionResult>


PX -> CM
C#:
/* PXtoCM(string Pixel, bool Decimal, bool Comma, int PostComma = 0, string Error = ErrorMessage) */
PXtoCM("12345", true, true, 1, "Hata!");
XML:
<FunctionResult>
    <ReturnType>System.String</ReturnType>
    <ReturnValue>326,6</ReturnValue>
</FunctionResult>


C#:
/* PXtoCM(string Pixel, bool Decimal, bool Comma, int PostComma = 0, string Error = ErrorMessage) */
PXtoCM("12345", false, false, 0, "Hata!");
XML:
<FunctionResult>
    <ReturnType>System.String</ReturnType>
    <ReturnValue>326</ReturnValue>
</FunctionResult>


PX -> INCH
C#:
/* PXtoINCH(string Pixel, bool Decimal, bool Comma, int PostComma = 0, string Error = ErrorMessage) */
PXtoINCH("12345", true, true, 1, "Hata!");
XML:
<FunctionResult>
    <ReturnType>System.String</ReturnType>
    <ReturnValue>128,5</ReturnValue>
</FunctionResult>


C#:
/* PXtoINCH(string Pixel, bool Decimal, bool Comma, int PostComma = 0, string Error = ErrorMessage) */
PXtoINCH("12345", false, false, 0, "Hata!");
XML:
<FunctionResult>
    <ReturnType>System.String</ReturnType>
    <ReturnValue>128</ReturnValue>
</FunctionResult>


Unicode

CHAR -> ASCII
C#:
/* CHARtoASCII(string CHAR, char Bracket = ',', string Error = ErrorMessage) */
CHARtoASCII("Conforyon", ',', "Hata!");
XML:
<FunctionResult>
    <ReturnType>System.String</ReturnType>
    <ReturnValue>67,111,110,102,111,114,121,111,110</ReturnValue>
</FunctionResult>


ASCII -> CHAR
C#:
/* ASCIItoCHAR(string ASCII, char Bracket = ',', string Error = ErrorMessage) */
ASCIItoCHAR("67,111,110,102,111,114,121,111,110", ',', "Hata!");
XML:
<FunctionResult>
    <ReturnType>System.String</ReturnType>
    <ReturnValue>Conforyon</ReturnValue>
</FunctionResult>


Hız

Miles Per Hour -> Kilometers Per Hour
C#:
/* MPHtoKPH(string Miles, bool Decimal, bool Comma, int PostComma = 0, bool Text = true, string Error = ErrorMessage) */
MPHtoKPH("12345", true, true, 1, true, "Hata!");
XML:
<FunctionResult>
    <ReturnType>System.String</ReturnType>
    <ReturnValue>19.867,3 KPH</ReturnValue>
</FunctionResult>


C#:
/* MPHtoKPH(string Miles, bool Decimal, bool Comma, int PostComma = 0, bool Text = true, string Error = ErrorMessage) */
MPHtoKPH("12345", false, false, 0, false, "Hata!");
XML:
<FunctionResult>
    <ReturnType>System.String</ReturnType>
    <ReturnValue>19867</ReturnValue>
</FunctionResult>


Kilometers Per Hour -> Miles Per Hour
C#:
/* KPHtoMPH(string Kilometers, bool Decimal, bool Comma, int PostComma = 0, bool Text = true, string Error = ErrorMessage) */
KPHtoMPH("12345", true, true, 1, true, "Hata!");
XML:
<FunctionResult>
    <ReturnType>System.String</ReturnType>
    <ReturnValue>7.670,8 MPH</ReturnValue>
</FunctionResult>


C#:
/* KPHtoMPH(string Kilometers, bool Decimal, bool Comma, int PostComma = 0, bool Text = true, string Error = ErrorMessage) */
KPHtoMPH("12345", false, false, 0, false, "Hata!");
XML:
<FunctionResult>
    <ReturnType>System.String</ReturnType>
    <ReturnValue>7670</ReturnValue>
</FunctionResult>


Zaman

Otomatik Zaman Dönüştürme
C#:
/* AutoTimeConvert(string InputVariable, TimeType InputType, bool TypeText = false, bool Decimal = false, bool Comma = false, int PostComma = 0, string Error = ErrorMessage) */
AutoTimeConvert("12345", TimeType.Second, true, true, true, 2, "Hata!");
XML:
<FunctionResult>
    <ReturnType>System.String</ReturnType>
    <ReturnValue>3,42 Hour</ReturnValue>
</FunctionResult>


C#:
/* AutoTimeConvert(string InputVariable, TimeType InputType, bool TypeText = false, bool Decimal = false, bool Comma = false, int PostComma = 0, string Error = ErrorMessage) */
AutoTimeConvert("12345", TimeType.Second, false, true, false, 0, "Hata!");
XML:
<FunctionResult>
    <ReturnType>System.String</ReturnType>
    <ReturnValue>3</ReturnValue>
</FunctionResult>


Zaman Dönüştürme
C#:
/* TimeConvert(string InputVariable, TimeType InputType, TimeType TypeConvert, bool Decimal = false, bool Comma = false, int PostComma = 0, string Error = ErrorMessage) */
TimeConvert("12345", TimeType.Second, TimeType.Minute, true, true, 2, "Hata!");
XML:
<FunctionResult>
    <ReturnType>System.String</ReturnType>
    <ReturnValue>205,75</ReturnValue>
</FunctionResult>


C#:
/* TimeConvert(string InputVariable, TimeType InputType, TimeType TypeConvert, bool Decimal = false, bool Comma = false, int PostComma = 0, string Error = ErrorMessage) */
TimeConvert("12345", TimeType.Second, TimeType.Minute, false, true, 5, "Hata!");
XML:
<FunctionResult>
    <ReturnType>System.String</ReturnType>
    <ReturnValue>205,75000</ReturnValue>
</FunctionResult>
 


Son düzenleme:

Üst