I am not sure if this would go through as a PR, but you would have to look 
in base/intfuncs.jl for the function signature: 

function dec(x::Unsigned, pad::Int, neg::Bool)

This generates the decimal representation for Integers. If you checked out 
and compiled Julia yourself you can simply modify this function, and after 
rebuilding julia you should see changes in how Integers get printed.
I don't know if there is a way to overwrite the function without rebuilding 
julia...

Fabian


On Friday, March 20, 2015 at 11:59:39 AM UTC+1, Ken B wrote:
>
> I really appreciate the fact that I can input an integer with underscores, 
> as in 
>
> a = 1_000_000
>
>
> Would it be a silly suggestion to also print integers with underscores? I 
> sometimes find myself counting digits to interpret an output
>
> output => 1102160376
>
>
> Or is there a simple way for me to overwrite the standard integer printing?
>
> Just trying to make Julia even better! :)
>
> Thanks,
> Ken
>
>
>

Reply via email to