Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

c# decimalformat

Empfohlene Antworten

guten tag,

ich habe bislang nur java programmiert aber muss jetzt auf C# umsteigen.

meine frage ist ob es in C# auch ein decimalformat gibt.

bei java ist es :

import java.text.DecimalFormat;

und dann

DecimalFormat name = new DecimalFormat("format");

gibt es das so auch in c#?

möchte anmerken das ich nicht! mit einem designer arbeite.

wenn mir einer helfen kann dann möchte der jenige Retter die syntax hier posten.

Danke

das is jetzt aber kein lösungsvorschlag oder?:hells:

Verwende die ToString-Methode mit einer IFormatProvider implementierenden Klasse. Für Dich wäre vermutlich System.Globalization.NumberFormatInfo eine geeignete Klasse.

ich bitte um die genaue Syntax... deine antwort erscheint mir durchaus logisch aber ich muss bis montag wissen wie ich das umsätze... :confused:

ich bitte um die genaue Syntax...
Und ich bitte um ein wenig mehr Eigeninitiative.

ich muss bis montag wissen wie ich das umsätze... :confused:

Dann schlage ich vor, dass du dir die Dokumentation der Klasse, die Bubble dir genannt hat, in der MSDN Library ansiehst.

Wenn du konkrete Fragen hast, kannst du die gern hier stellen.

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.