Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
MrBogomips authored Mar 9, 2024
1 parent 8ccd9b1 commit 7cd4d65
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,8 @@ var amounts = Enumerable.Repeat(context.CreateMoney(3.37), 17);
```

### Sample 6: Calculating the P/E Ratio

```csharp
using (var context = new MonetaContext("USD", new IsoCurrencyProvider()))
{
Console.WriteLine("\nSample 6: Calculating the P/E Ratio");
Expand All @@ -388,3 +390,4 @@ using (var context = new MonetaContext("USD", new IsoCurrencyProvider()))

Console.WriteLine($"The P/E Ratio is {peRatio}");
} // OK!
```

0 comments on commit 7cd4d65

Please sign in to comment.