System.Convert.ToDecimal(sbyte)

Here are the examples of the csharp api System.Convert.ToDecimal(sbyte) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

4 Examples 7

19 Source : SByteAdvancedConverter.cs
with MIT License
from DataObjects-NET

decimal IAdvancedConverter<sbyte, decimal>.Convert(sbyte value)
    {
      return System.Convert.ToDecimal(value);
    }

19 Source : BasicConvert.Overload.cs
with MIT License
from Dogwei

decimal IXConverter<sbyte, decimal>.Convert(sbyte value)
			=> Convert.ToDecimal(value);

19 Source : SByteExtensions.cs
with GNU General Public License v3.0
from ME3Tweaks

public static decimal ToDecimal(this sbyte value)
		{
			return Convert.ToDecimal(value);
		}

19 Source : SByte.cs
with MIT License
from Team-RTCLI

decimal IConvertible.ToDecimal(IFormatProvider? provider)
        {
            return Convert.ToDecimal(m_value);
        }