Dynamic text showing z camera hight???

Hi guys,
someone has an idea how to have in blender (not bge) a dynamic text that show the number of the z of an object? In my case the camera? Maybe with some add-on?!
Thanks