Quarterly report pursuant to Section 13 or 15(d)

Funds Held for Clients and Corporate Investments (Narrative) (Details)

v3.8.0.1
Funds Held for Clients and Corporate Investments (Narrative) (Details)
$ in Millions
9 Months Ended
Feb. 28, 2018
USD ($)
security
May 31, 2017
USD ($)
security
Schedule of Available-for-sale Securities [Line Items]    
Net unrealized loss on available-for-sale securities $ 34.9  
Net unrealized gain on available-for-sale securities   $ 32.0
Number of available-for-sale securities in an unrealized loss position | security 859 216
Gross unrealized losses on available-for-sale securities $ 39.9 $ 5.8
Variable Rate Demand Notes [Member] | Minimum [Member]    
Schedule of Available-for-sale Securities [Line Items]    
Available-for-sale securities contractual maturities 20 years  
Variable Rate Demand Notes [Member] | Maximum [Member]    
Schedule of Available-for-sale Securities [Line Items]    
Available-for-sale securities contractual maturities 30 years