See video version of the tutorial

Float column type should be used when you need to render numeric values with a decimal part. Even non-float content type from the input will be casted as a number, and render with the amount of numbers after the comma that was defined in the wpDataTables settings page.

  • Rendering rules: value is casted as a number, and rendered with 2 numbers after the comma.
  • Sorting rules: arithmetical.
  • Applicable filter types: text (will also work), number, number range, selectbox, checkbox.
  • Issues to note: none.

Example:

“Yearly revenue” column in this table is a Float type column.

Dummy clients table

wdt_IDCompany nameSectorYearly revenueClient since
1Black TurtleArchitecture10.000.000,0029 May 2011
2Clockwork OrangeBusiness Consulting3.000.000,0001 May 2003
3Theodore ConsultingTechnology11.000.000,0017 May 2004
4White Wing IndustriesBusiness Consulting1.250.000,0018 May 2006
5Twinkles Inc.IT8.000.000,0001 May 2006
6The Large CompanyConstruction7.000.000,0001 Jun 2015
7Non-Standard ProductionConstruction3.900.000,0005 Jun 2007
8Jailbreak MachineryIT27.500.000,0001 Jun 2001
9Infinite Scroll ManiacsIT20.000.000,0028 May 1996
10Thebest Construction AgencyConstruction90.000.000,0001 May 1996
wdt_IDCompany nameSectorYearly revenueClient since


Never miss new features!

Join 2000+ newsletter subscribers

Never miss notifications about new cool features, promotions, giveaways or freebies - subscribe to our newsletter! We send about one mail per month, and do our best to keep our announcements interesting.

We never spam or disclose your address to anyone.