]> gitweb.factorcode.org Git - factor.git/blob - extra/taxes/usa/medicare/medicare.factor
Switch to https urls
[factor.git] / extra / taxes / usa / medicare / medicare.factor
1 ! Copyright (C) 2008 Doug Coleman.
2 ! See https://factorcode.org/license.txt for BSD license.
3 USING: kernel math money ;
4 IN: taxes.usa.medicare
5
6 ! No base rate for medicare; all wages subject
7 : medicare-tax-rate ( -- x ) DECIMAL: .0145 ; inline
8 : medicare-tax ( salary w4 -- x ) drop medicare-tax-rate * ;