On this page:
refresh-every
~$
~euro
~pound
3.5.3 Survey Tools🔗

 (require conscript/survey-tools) package: conscript

The bindings in this module are also provided by conscript/base.

procedure

(refresh-every n-seconds)  xexpr?

  n-seconds : exact-positive-integer?
Returns a representation of an HTML <script> element that causes the browser to reload the current page every n-seconds.

procedure

(~$ n)  string?

  n : rational?

procedure

(~euro n)  string?

  n : rational?

procedure

(~pound n)  string?

  n : rational?
Returns a string representing n to two decimal places and prefixed with a currency symbol.

Examples:
> (define price 1.045)
> (~$ price)

"$1.04"

> (~euro price)

"€1.04"

> (~pound price)

"£1.04"