UK Data: Maths and working days

v1.4.0
uk.co.reliness/maths-dates Checked 4 days ago Published 1 month ago

Safe maths and statistics, and UK working-day arithmetic using official bank holidays

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

calculate

Evaluate an expression (+ - * / ^ %, sqrt, ln, log, round, min, max, pi) or summary statistics of a list of numbers. (cost: 1 credit)

ParameterTypeDescription
expressionstringstring
valuesarray or comma list of numbers

working_days

UK working days between two dates, or the date N working days after/before a date, skipping weekends and bank holidays. (cost: 1 credit)

ParameterTypeDescription
addDaysnumber | stringnumber
divisionstringengland-and-wales|scotland|northern-ireland
fromstringYYYY-MM-DD, required
tostringYYYY-MM-DD