Mercurial > repos > IBBoard
comparison Limits/SimpleRoundedPercentageLimit.cs @ 54:9a0009bc4455
Re #24: Add limit objects
* Put percentage limit in correct package
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Thu, 22 Oct 2009 19:33:09 +0000 |
parents | e98708559618 |
children | 44bc5bd5c2f3 |
comparison
equal
deleted
inserted
replaced
53:12117b04ebc1 | 54:9a0009bc4455 |
---|---|
3 // The file and the library/program it is in are licensed under the GNU LGPL license, either version 3 of the License or (at your option) any later version. Please see COPYING.LGPL for more information and the full license. | 3 // The file and the library/program it is in are licensed under the GNU LGPL license, either version 3 of the License or (at your option) any later version. Please see COPYING.LGPL for more information and the full license. |
4 | 4 |
5 using System; | 5 using System; |
6 using IBBoard.CustomMath; | 6 using IBBoard.CustomMath; |
7 | 7 |
8 namespace IBBoard | 8 namespace IBBoard.Limits |
9 { | 9 { |
10 /// <summary> | 10 /// <summary> |
11 /// A percentage-based limit that always either rounds up or down to the closest integer | 11 /// A percentage-based limit that always either rounds up or down to the closest integer |
12 /// </summary> | 12 /// </summary> |
13 public class SimpleRoundedPercentageLimit : AbstractLimit | 13 public class SimpleRoundedPercentageLimit : AbstractLimit |