Convert.ToSingle, méthode (UInt16)
.NET Framework 3.5
Mise à jour : novembre 2007
Convertit la valeur de l'entier non signé 16 bits spécifié en nombre à virgule flottante simple précision équivalent.
Assembly : mscorlib (dans mscorlib.dll)
/** @attribute CLSCompliantAttribute(false) */ public static float ToSingle( UInt16 value )
public static function ToSingle( value : ushort ) : float
Paramètres
- value
- Type : System.UInt16
Entier non signé 16 bits.
Valeur de retour
Type : System.SingleNombre à virgule flottante simple précision équivalant à la valeur de value.
Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professionnel Édition x64, Windows XP Starter Edition, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98, Windows CE, Windows Mobile pour Smartphone, Windows Mobile pour Pocket PC, Xbox 360
Le .NET Framework et le .NET Compact Framework ne prennent pas en charge toutes les versions de chaque plateforme. Pour obtenir la liste des versions prises en charge, consultez Configuration requise du .NET Framework.