mirror of
https://github.com/by-jp/www.byjp.me.git
synced 2025-08-09 01:35:56 +01:00
Fix GVP rounding issues
This commit is contained in:
parent
8df1a5fb3c
commit
7f2cfdc52a
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
{{ $donations := getJSON "https://api.val.town/v1/run/byjp.donations" }}
|
{{ $donations := getJSON "https://api.val.town/v1/run/byjp.donations" }}
|
||||||
<p>Friends have donated <strong>£{{ $donations.totalGBP }}</strong> (across {{ $donations.currencyCount }} currencies) to worthy causes in thanks. Thank <em>you</em>!</em></p>
|
<p>Friends have donated <strong>£{{ div (math.Round (mul $donations.totalGBP 100)) 100 }}</strong> (across {{ $donations.currencyCount }} currencies) to worthy causes in thanks. Thank <em>you</em>!</em></p>
|
||||||
<style>
|
<style>
|
||||||
.donate input[type=number] {
|
.donate input[type=number] {
|
||||||
width:75px;
|
width:75px;
|
||||||
|
|
Loading…
Reference in a new issue