Skip to main content

Numbers

  • Chapter
  • First Online:
  • 1628 Accesses

Abstract

When implementing Python 2 and Python 3 compatibility in a single code base, division won’t truncate unless double slashes are used, or __future__ importation to division is done.

This is a preview of subscription content, log in via an institution.

Buying options

eBook
USD   19.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   27.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2017 Joannah Nanjekye

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Nanjekye, J. (2017). Numbers. In: Python 2 and 3 Compatibility. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-2955-2_2

Download citation

Publish with us

Policies and ethics