You are here

private static function krumo::_float in Devel 7

Same name and namespace in other branches
  1. 6 krumo/class.krumo.php \krumo::_float()

Render a dump for a float value

@access private @static

Parameters

mixed $data:

string $name:

1 call to krumo::_float()
krumo::_dump in krumo/class.krumo.php
Dump information about a variable

File

krumo/class.krumo.php, line 1226

Class

krumo
Krumo API

Code

private static function _float($data, $name) {
  ?>
<li class="krumo-child">

  <div class="krumo-element"
    onMouseOver="krumo.over(this);"
    onMouseOut="krumo.out(this);">

      <?php


  /* DEVEL: added htmlSpecialChars */
  ?>
      <a class="krumo-name"><?php

  echo htmlSpecialChars($name);
  ?></a>
      (<em class="krumo-type">Float</em>)
      <strong class="krumo-float"><?php

  echo $data;
  ?></strong>
  </div>

</li>
<?php

}