Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 
Share Thread:
Reddit Facebook Twitter
Volume & Area Tool [SOLVED]
11-25-2012, 08:33 PM (This post was last modified: 11-25-2012 08:50 PM by ggaliens.)
Post: #3
RE: Volume & Area Tool
Optigon ... I have patched this up locally. Can't recall if I did a GITHUB push or not.

As I recall ... the problem was not with the calculations so much as the io tools used to do the reporting.

This is from my wings.erl file in function get_object_info.


Code:
ToString = fun(Item) ->
    case Item of
        Item when is_float(Item) ->
        lists:flatten(hd(io_lib:format("~.4f", [Item])));
        Item when is_integer(Item) ->
        integer_to_list(Item);
        Item when is_list(Item) ->
        Item
    end
    end,
Reply


Messages In This Thread
Volume & Area Tool [SOLVED] - optigon - 11-25-2012, 02:38 AM
RE: Volume & Area Tool - optigon - 11-25-2012, 03:22 PM
RE: Volume & Area Tool - ggaliens - 11-25-2012 08:33 PM
RE: Volume & Area Tool - micheus - 11-27-2012, 04:41 PM
RE: Volume & Area Tool - optigon - 11-27-2012, 04:46 PM
RE: Volume & Area Tool - Fonte Boa - 11-25-2012, 09:16 PM
RE: Volume & Area Tool - micheus - 11-27-2012, 04:58 PM
RE: Volume & Area Tool - optigon - 11-27-2012, 05:34 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)