Stories recently tagged with 'Numbers'

Finding missing numbers in a list using LINQ with C#(leniel.net)

submitted by lenielleniel(504) 2 years, 7 months ago

Let’s say you have a list of integer values that represent the days of a month like this: 6, 2, 4, 1, 9, 7, 3, 10, 13, 15, 19, 11, 18, 13, 22, 24, 20, 27, 31, 25, 28 - Clearly we have missing numbers/days in the list. They are: 5 8 12 14 16 17 21 23 26 29 30. It’s really easy to get a list of missing numbers using LINQ with C# and the Except operator. LINQ is the greatest addition to the C# language. I can imagine how life would be difficult if we hadn’t LINQ! This post shows how I implemented a missing numbers finder using a C# extension method. read more...

add a comment |category: |Views: 17

tags: another

Convert a Number into Words(blackwasp.co.uk)

submitted by BlackWaspBlackWasp(4217) 5 years, 3 months ago

When developing commercial applications, particularly when those applications perform activities such as cheque printing, it can be necessary to display numeric values using the equivalent text. This article describes an algorithm to achieve this. read more...

add a comment |category: |Views: 173

tags: another

Introducing: System.Numeric.BigInteger(blogs.msdn.com)

submitted by erickerick(230) 5 years, 4 months ago

Have you ever needed a really huge number? So big it just couldn't fit into any other base-type in the framework? Well, no problem anymore, just use the new BigInteger type. You can now have the ability to use integers of any arbitrary size, so they can exponentiate until the cows come home... or memory runs out, whichever comes first :-) read more...

add a comment |category: |Views: 102

tags: another