Skip to content

Commit 59bcd94

Browse files
committed
Add more links
1 parent a42dc5b commit 59bcd94

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/cookbook.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ The patterns demonstrated in this cookbook are not unique to JavaScript - they r
2626

2727
### Python
2828

29-
Python includes the `decimal` module in its standard library (since 2003):
29+
Python includes the [`decimal`](https://docs.python.org/3/library/decimal.html) module in its standard library (since 2003):
3030

3131
```python
3232
from decimal import Decimal
@@ -43,7 +43,7 @@ total = subtotal + tax
4343
print(f"${total:.2f}") # => "$64.92"
4444
```
4545

46-
Python's `Decimal` is widely used in web frameworks like Django and Flask for handling monetary values. The Django ORM includes a `DecimalField` specifically for financial data.
46+
Python's `Decimal` is widely used in web frameworks like [Django](https://www.djangoproject.com) and [Flask](https://flask.palletsprojects.com/en/stable/) for handling monetary values. Django includes a [`DecimalField`](https://docs.djangoproject.com/en/5.2/ref/models/fields/#decimalfield) specifically for such data.
4747

4848
### Java
4949

@@ -66,7 +66,7 @@ total = total.setScale(2, RoundingMode.HALF_UP);
6666
System.out.println(total); // => "64.62"
6767
```
6868

69-
`BigDecimal` is the standard approach for financial applications in the Java ecosystem, including frameworks like Spring and Hibernate.
69+
`BigDecimal` is the standard approach for financial applications in the Java ecosystem, including frameworks like [Spring](https://spring.io/projects/spring-framework) and [Hibernate](https://hibernate.org).
7070

7171
### C\#
7272

@@ -86,7 +86,7 @@ Console.WriteLine($"${total:F2}"); // => "$64.92"
8686

8787
### Ruby
8888

89-
Ruby includes `BigDecimal` in its standard library:
89+
Ruby includes [`BigDecimal`]((https://ruby-doc.org/3.4.1/exts/json/BigDecimal.html)) in its standard library:
9090

9191
```ruby
9292
require 'bigdecimal'
@@ -102,7 +102,7 @@ total = subtotal + tax
102102
puts "$%.2f" % total # => "$64.92"
103103
```
104104

105-
Ruby on Rails uses [`BigDecimal`](https://ruby-doc.org/3.4.1/exts/json/BigDecimal.html) for handling database `decimal` columns by default, making it the standard approach for money in Rails applications.
105+
Ruby on Rails uses `BigDecimal` for handling database `decimal` columns by default, making it the standard approach for money in Rails applications.
106106

107107
### Swift
108108

0 commit comments

Comments
 (0)