My Visual Studio
Monday, February 16, 2015
VB.net Formatting Data for Display
ตัวอย่าง
displayLabel.Text = numberInteger.ToString()
' Display as currency.
extendedPriceLabel.Text = (quantityInteger * priceDecimal).ToString("C")
' Display as numeric.
discountLabel.Text = discountDecimal.ToString("N")
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment