mirror of
https://github.com/xenia-project/xenia.git
synced 2026-04-06 15:13:34 +00:00
Register display.
This commit is contained in:
parent
a1da55a006
commit
5fef117aa0
5 changed files with 167 additions and 2 deletions
|
|
@ -31,3 +31,15 @@ module.filter('hex32', function() {
|
|||
}
|
||||
};
|
||||
});
|
||||
|
||||
module.filter('exp8', function() {
|
||||
return function(number) {
|
||||
if (number !== null && number !== undefined) {
|
||||
var str = number.toExponential(8);
|
||||
if (number >= 0) {
|
||||
str = ' ' + str;
|
||||
}
|
||||
return str;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue