DecimalFormatter.ParseDouble(String) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Tente d’analyser une représentation sous forme de chaîne d’un nombre double .
public:
virtual IReference<double> ^ ParseDouble(Platform::String ^ text) = ParseDouble;
IReference<double> ParseDouble(winrt::hstring const& text);
public System.Nullable<double> ParseDouble(string text);
function parseDouble(text)
Public Function ParseDouble (text As String) As Nullable(Of Double)
Paramètres
- text
-
String
Platform::String
winrt::hstring
Texte à analyser.
Retours
En cas de réussite, double qui correspond à la représentation de chaîne, et sinon null.
Implémente
M:Windows.Globalization.NumberFormatting.INumberParser.ParseDouble(System.String)
M:Windows.Globalization.NumberFormatting.INumberParser.ParseDouble(Platform::String)
M:Windows.Globalization.NumberFormatting.INumberParser.ParseDouble(winrt::hstring)
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour